<?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 Using Shell script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978404#M547121</link>
    <description>you can simply do the following on you log-in shell.&lt;BR /&gt;&lt;BR /&gt;#/usr/bin/ksh&lt;BR /&gt;################################3&lt;BR /&gt;ftp -n xxx.xxx.xxx.xxx &amp;lt;&amp;lt; EOF&lt;BR /&gt;user anonymous xxx@yyy.com&lt;BR /&gt;bi&lt;BR /&gt;cd ${target_dir}&lt;BR /&gt;put ${source} ${target}&lt;BR /&gt;bye&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Good Luck ~~</description>
    <pubDate>Thu, 11 May 2006 01:34:41 GMT</pubDate>
    <dc:creator>Jeong-Hwan Kim_1</dc:creator>
    <dc:date>2006-05-11T01:34:41Z</dc:date>
    <item>
      <title>FTP Using Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978401#M547118</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;I wants to write a Shell script which can be connected to a remote ftp server with a user name (not anonymous).&lt;BR /&gt;&lt;BR /&gt;Can any one help me how to write the script for entering a user name and password for the ftp server&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2006 23:15:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978401#M547118</guid>
      <dc:creator>Damu</dc:creator>
      <dc:date>2006-05-10T23:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Using Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978402#M547119</link>
      <description>Hi Damu, &lt;BR /&gt;&lt;BR /&gt;Check this thread for FTP Script, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=989518" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=989518&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=811436" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=811436&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Wed, 10 May 2006 23:20:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978402#M547119</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-05-10T23:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Using Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978403#M547120</link>
      <description>Doing FTP transfers in the shell is very tedious if you do it right because error checking is tough to do. It's much easier to use Perl's Net::FTP module. The attached script will do everything for you and all you need is a little shell scripting ability.&lt;BR /&gt;&lt;BR /&gt;ftpget.pl -h remotehost -l username -p topsecret -d /var/tmp -A myfile1 myfile2&lt;BR /&gt;STAT=${?}&lt;BR /&gt;&lt;BR /&gt;if [[ ${STAT} -eq 0 ]]&lt;BR /&gt;  then&lt;BR /&gt;    echo "OK"&lt;BR /&gt;  else&lt;BR /&gt;    echo "FTP failed; status ${STAT}" &amp;gt;&amp;amp;2&lt;BR /&gt;  fi&lt;BR /&gt;&lt;BR /&gt;This will login to host "remotehost" as user "username", password "topsecret", cd to /var/tmp, enter ASCII mode (-A); and finally get myfile1 and myfile2. If it exits with a zero status then all is well. &lt;BR /&gt;If you need to do a put search for "ftpput.pl".&lt;BR /&gt;&lt;BR /&gt;Invoke as ftpget.pl -u for full usage.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 10 May 2006 23:28:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978403#M547120</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2006-05-10T23:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Using Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978404#M547121</link>
      <description>you can simply do the following on you log-in shell.&lt;BR /&gt;&lt;BR /&gt;#/usr/bin/ksh&lt;BR /&gt;################################3&lt;BR /&gt;ftp -n xxx.xxx.xxx.xxx &amp;lt;&amp;lt; EOF&lt;BR /&gt;user anonymous xxx@yyy.com&lt;BR /&gt;bi&lt;BR /&gt;cd ${target_dir}&lt;BR /&gt;put ${source} ${target}&lt;BR /&gt;bye&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Good Luck ~~</description>
      <pubDate>Thu, 11 May 2006 01:34:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978404#M547121</guid>
      <dc:creator>Jeong-Hwan Kim_1</dc:creator>
      <dc:date>2006-05-11T01:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Using Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978405#M547122</link>
      <description>Hi, &lt;BR /&gt;&lt;BR /&gt;here is a script I use to send one or more files to a remote ftp server. &lt;BR /&gt;&lt;BR /&gt;syntax is:&lt;BR /&gt;sendftp &lt;FTP-HOST&gt; &lt;FTP-USER&gt; &lt;FTP-PW&gt; [-p &lt;REMOTE-PATH&gt;] file1 file2...&lt;BR /&gt;&lt;BR /&gt;user and pw are given as parameters of script. &lt;BR /&gt;path parameter is optional (remote user's home dir will be used as default)&lt;BR /&gt;&lt;BR /&gt;hope this helps. &lt;BR /&gt;antonio. &lt;BR /&gt;&lt;/REMOTE-PATH&gt;&lt;/FTP-PW&gt;&lt;/FTP-USER&gt;&lt;/FTP-HOST&gt;</description>
      <pubDate>Thu, 11 May 2006 02:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978405#M547122</guid>
      <dc:creator>Antonio Cardoso_1</dc:creator>
      <dc:date>2006-05-11T02:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Using Shell script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978406#M547123</link>
      <description>I done it by simple script by collecting the all details from the replays&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 11 May 2006 04:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-using-shell-script/m-p/4978406#M547123</guid>
      <dc:creator>Damu</dc:creator>
      <dc:date>2006-05-11T04:43:00Z</dc:date>
    </item>
  </channel>
</rss>

