<?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: Script to make automatic ftp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459805#M13727</link>
    <description>1. Create a text file as follows:&lt;BR /&gt;   open hostname&lt;BR /&gt;   user username password&lt;BR /&gt;   &lt;INSERT any="" ftp="" commands="" here=""&gt;&lt;BR /&gt;   bye&lt;BR /&gt;&lt;BR /&gt;2. Run the ftp command as follows:&lt;BR /&gt;   ftp -i -n &lt;FILENAME&gt;&lt;/FILENAME&gt;&lt;BR /&gt;For example, if you want to transfer files from a host called venus to your&lt;BR /&gt;system. The files need to be transferred in binary mode and the username for&lt;BR /&gt;logging into venus is joeuser with a password of abc123. The files are located&lt;BR /&gt;in /data and have an extension of .DB The files will be transferred to /tmp on&lt;BR /&gt;your system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Create a text file called ftp.txt with the following lines:&lt;BR /&gt;&lt;BR /&gt;open venus&lt;BR /&gt;user joeuser abc123&lt;BR /&gt;binary&lt;BR /&gt;mget /data/*.DB /tmp/*.DB&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;Run the ftp command as follows:&lt;BR /&gt;&lt;BR /&gt;ftp -i -n &lt;FTP.TXT&gt;&lt;/FTP.TXT&gt;&lt;BR /&gt;&lt;/INSERT&gt;</description>
    <pubDate>Tue, 31 Oct 2000 13:57:26 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2000-10-31T13:57:26Z</dc:date>
    <item>
      <title>Script to make automatic ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459804#M13726</link>
      <description>Hi all &lt;BR /&gt;&lt;BR /&gt;I?m  trying build script ( posix-sh ) to make automatic ftp&lt;BR /&gt;&lt;BR /&gt;I would like put in script the user, passwd and ftp commands&lt;BR /&gt;&lt;BR /&gt;How I make it ???&lt;BR /&gt;&lt;BR /&gt;Thanks a lot &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Oct 2000 13:55:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459804#M13726</guid>
      <dc:creator>Paulo Afonso Bruno</dc:creator>
      <dc:date>2000-10-31T13:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Script to make automatic ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459805#M13727</link>
      <description>1. Create a text file as follows:&lt;BR /&gt;   open hostname&lt;BR /&gt;   user username password&lt;BR /&gt;   &lt;INSERT any="" ftp="" commands="" here=""&gt;&lt;BR /&gt;   bye&lt;BR /&gt;&lt;BR /&gt;2. Run the ftp command as follows:&lt;BR /&gt;   ftp -i -n &lt;FILENAME&gt;&lt;/FILENAME&gt;&lt;BR /&gt;For example, if you want to transfer files from a host called venus to your&lt;BR /&gt;system. The files need to be transferred in binary mode and the username for&lt;BR /&gt;logging into venus is joeuser with a password of abc123. The files are located&lt;BR /&gt;in /data and have an extension of .DB The files will be transferred to /tmp on&lt;BR /&gt;your system.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Create a text file called ftp.txt with the following lines:&lt;BR /&gt;&lt;BR /&gt;open venus&lt;BR /&gt;user joeuser abc123&lt;BR /&gt;binary&lt;BR /&gt;mget /data/*.DB /tmp/*.DB&lt;BR /&gt;bye&lt;BR /&gt;&lt;BR /&gt;Run the ftp command as follows:&lt;BR /&gt;&lt;BR /&gt;ftp -i -n &lt;FTP.TXT&gt;&lt;/FTP.TXT&gt;&lt;BR /&gt;&lt;/INSERT&gt;</description>
      <pubDate>Tue, 31 Oct 2000 13:57:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459805#M13727</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2000-10-31T13:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: Script to make automatic ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459806#M13728</link>
      <description>try this:&lt;BR /&gt;&lt;BR /&gt;ftp -v -n &amp;lt; ftp_script &lt;BR /&gt;###############################&lt;BR /&gt;# ftp_script&lt;BR /&gt;open &lt;HOSTNAME or="" ip="" address=""&gt; &lt;BR /&gt;user xxx yyy &lt;BR /&gt;prompt off &lt;BR /&gt;cd &lt;DIRECTORY&gt; -&amp;gt; Change the remote directory &lt;BR /&gt;lcd &lt;DIRECTORY&gt; -&amp;gt; Change the local directory &lt;BR /&gt;bin&lt;BR /&gt;mget filename &lt;BR /&gt;bye &lt;BR /&gt;&lt;/DIRECTORY&gt;&lt;/DIRECTORY&gt;&lt;/HOSTNAME&gt;</description>
      <pubDate>Tue, 31 Oct 2000 14:07:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459806#M13728</guid>
      <dc:creator>federico_3</dc:creator>
      <dc:date>2000-10-31T14:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Script to make automatic ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459807#M13729</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Do a SEARCH in this forum for "FTP".  You will be well rewarded.  There are many examples and discussions of just the topic you seek.  Here are just two threads to start you off:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe0830559ff7cd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0xe0830559ff7cd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x00517e990647d4118fee0090279cd0f9,00.html" target="_blank"&gt;http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x00517e990647d4118fee0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 31 Oct 2000 14:22:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459807#M13729</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-10-31T14:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Script to make automatic ftp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459808#M13730</link>
      <description>Thanks to all for the help</description>
      <pubDate>Tue, 31 Oct 2000 17:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-to-make-automatic-ftp/m-p/2459808#M13730</guid>
      <dc:creator>Paulo Afonso Bruno</dc:creator>
      <dc:date>2000-10-31T17:46:40Z</dc:date>
    </item>
  </channel>
</rss>

