<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ftp script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568253#M227754</link>
    <description>Thanks to everybody for the reply&lt;BR /&gt;&lt;BR /&gt;I got it.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Musaddaq</description>
    <pubDate>Wed, 22 Jun 2005 04:50:23 GMT</pubDate>
    <dc:creator>musaddaq_2</dc:creator>
    <dc:date>2005-06-22T04:50:23Z</dc:date>
    <item>
      <title>ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568247#M227748</link>
      <description>Hi i want to make a small script for FTP.&lt;BR /&gt;I want to copy one file to another server.&lt;BR /&gt;can any one help me out.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Musaddaq</description>
      <pubDate>Wed, 22 Jun 2005 04:30:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568247#M227748</guid>
      <dc:creator>musaddaq_2</dc:creator>
      <dc:date>2005-06-22T04:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568248#M227749</link>
      <description>Hi Musaddaq,&lt;BR /&gt;&lt;BR /&gt;Check the url below (docID=PU94082118354&lt;BR /&gt;) about 'How do I use "ftp" in a shell script?' :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000065257476" target="_blank"&gt;http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000065257476&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Wed, 22 Jun 2005 04:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568248#M227749</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-06-22T04:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568249#M227750</link>
      <description>The simplest way is something like this, although having the ID and password in the script isn't very secure;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ftp -vn &lt;YOUR_SERVER&gt; &amp;lt;&amp;lt; EOF&lt;BR /&gt;user &lt;LOGIN_NAME&gt; &lt;PASSWORD&gt;&lt;BR /&gt;put &lt;LOCAL_FILE&gt; &lt;REMOTE_FILE&gt;&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;All you need to do is substitute your details for the entries in place of &lt;YOUR_SERVER&gt; etc.&lt;/YOUR_SERVER&gt;&lt;/REMOTE_FILE&gt;&lt;/LOCAL_FILE&gt;&lt;/PASSWORD&gt;&lt;/LOGIN_NAME&gt;&lt;/YOUR_SERVER&gt;</description>
      <pubDate>Wed, 22 Jun 2005 04:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568249#M227750</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2005-06-22T04:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568250#M227751</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Simple script&lt;BR /&gt;&lt;BR /&gt;ftp -n &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;open xxx.x.xx.xxx (change the xxx to destinastion ip) &lt;BR /&gt;user user_name password (change user_name and passwd)&lt;BR /&gt;bin&lt;BR /&gt;put filename &lt;BR /&gt;EOF &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Wed, 22 Jun 2005 04:39:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568250#M227751</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2005-06-22T04:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568251#M227752</link>
      <description>&lt;BR /&gt;you can use expect scripting utility to automate ftp proces. check man expect for more information</description>
      <pubDate>Wed, 22 Jun 2005 04:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568251#M227752</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-22T04:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568252#M227753</link>
      <description>check these links for more information&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x74e49200caded5118ff40090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x74e49200caded5118ff40090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=97954" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=97954&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Wed, 22 Jun 2005 04:41:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568252#M227753</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-06-22T04:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568253#M227754</link>
      <description>Thanks to everybody for the reply&lt;BR /&gt;&lt;BR /&gt;I got it.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Musaddaq</description>
      <pubDate>Wed, 22 Jun 2005 04:50:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568253#M227754</guid>
      <dc:creator>musaddaq_2</dc:creator>
      <dc:date>2005-06-22T04:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568254#M227755</link>
      <description>Hi musaddaq,&lt;BR /&gt;&lt;BR /&gt;If it is just for copying a single file. Can you think of rcp/remsh...?&lt;BR /&gt;&lt;BR /&gt;Cheers!!!&lt;BR /&gt;eknath</description>
      <pubDate>Wed, 22 Jun 2005 05:14:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568254#M227755</guid>
      <dc:creator>Eknath</dc:creator>
      <dc:date>2005-06-22T05:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568255#M227756</link>
      <description>Hello Eknath&lt;BR /&gt;I have 410 files&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Musaddaq</description>
      <pubDate>Wed, 22 Jun 2005 05:22:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568255#M227756</guid>
      <dc:creator>musaddaq_2</dc:creator>
      <dc:date>2005-06-22T05:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568256#M227757</link>
      <description>Peek at `wget` or `snarf` (on &lt;A href="http://hpux.its.tudelft.nl/)." target="_blank"&gt;http://hpux.its.tudelft.nl/).&lt;/A&gt; THose tools are command-line based and they can do ftp too. They are more easy to use in a script.&lt;BR /&gt;&lt;BR /&gt;These tools work by url-s or uri-s. For ftp they are "ftp://user:password@site.domain/path/to/file" or "ftp://user@site.domain/path/to/file" (this asks for a password) or "&lt;A href="ftp://site.domain/path/to/file" target="_blank"&gt;ftp://site.domain/path/to/file&lt;/A&gt;" (this uses anonymous-ftp).&lt;BR /&gt;&lt;BR /&gt;`wget` is also capable of transfering entire trees.</description>
      <pubDate>Thu, 23 Jun 2005 02:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568256#M227757</guid>
      <dc:creator>C. Beerse_1</dc:creator>
      <dc:date>2005-06-23T02:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568257#M227758</link>
      <description>U can use 'ftp -s:nav -i 21.1.1.1' where 21.1.1.1 is the ip of the server , 'nav' is a file containing all of ur commands and user logins &lt;BR /&gt;eg: nav file -&amp;gt;&lt;BR /&gt;&lt;LOGINAME&gt;&lt;BR /&gt;&lt;PASSWD&gt;&lt;BR /&gt;...&lt;BR /&gt;...commands.&lt;BR /&gt;...&lt;BR /&gt;bye&lt;/PASSWD&gt;&lt;/LOGINAME&gt;</description>
      <pubDate>Thu, 23 Jun 2005 05:23:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568257#M227758</guid>
      <dc:creator>Bejoy C Alias</dc:creator>
      <dc:date>2005-06-23T05:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: ftp script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568258#M227759</link>
      <description>Note: ftp -s is not part of HP's standard ftp. You'll need to use the scripted method for standard ftp. Note also that if you have all 410 files in one directory, you can use the mput command to automatically transfer all the files. This assumes that ytou every file in the directory or can specify filename masking to select the right files. Be sure to turn off the prompt for each file by first issuing the: prompt command.&lt;BR /&gt; &lt;BR /&gt;As with all scripts, try the individual commands to see that they work OK. Then put them into the script.</description>
      <pubDate>Thu, 23 Jun 2005 07:36:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/3568258#M227759</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-06-23T07:36:16Z</dc:date>
    </item>
  </channel>
</rss>

