<?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 FTP scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/2430947#M3010</link>
    <description>One of the responses to "Transfer files between two systems" referenced ftp scripting.  I didn't think it could be done.  Can someone please direct me to some good references as to how to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Grant&lt;BR /&gt;</description>
    <pubDate>Fri, 14 Jul 2000 22:55:45 GMT</pubDate>
    <dc:creator>Grant Wenstrand</dc:creator>
    <dc:date>2000-07-14T22:55:45Z</dc:date>
    <item>
      <title>FTP scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/2430947#M3010</link>
      <description>One of the responses to "Transfer files between two systems" referenced ftp scripting.  I didn't think it could be done.  Can someone please direct me to some good references as to how to do this?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Grant&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jul 2000 22:55:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/2430947#M3010</guid>
      <dc:creator>Grant Wenstrand</dc:creator>
      <dc:date>2000-07-14T22:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: FTP scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/2430948#M3011</link>
      <description>Use a shell 'here' document (check a KSH or POSIX shell script manual for more details) and the non-interactive flag (-n) for ftp:&lt;BR /&gt;&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;open some_host&lt;BR /&gt;lcd /tmp&lt;BR /&gt;cd /etc&lt;BR /&gt;ascii&lt;BR /&gt;get fstab&lt;BR /&gt;close&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;With here documents, env variables are expanded before being sent to ftp, making a general batch ftp possible as in:&lt;BR /&gt;&lt;BR /&gt;MYHOST=cpu.mydomain.com&lt;BR /&gt;LOCALDIR=/tmp&lt;BR /&gt;REMOTEDIR=/etc&lt;BR /&gt;MYFILE=fstab&lt;BR /&gt;&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;open $MYHOST&lt;BR /&gt;lcd $LOCALDIR&lt;BR /&gt;cd $REMOTEDIR&lt;BR /&gt;ascii&lt;BR /&gt;get $MYFILE&lt;BR /&gt;close&lt;BR /&gt;EOF&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jul 2000 23:59:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/2430948#M3011</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2000-07-14T23:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/2430949#M3012</link>
      <description>Grant:&lt;BR /&gt;&lt;BR /&gt;A recent thread touched on this.  See "Automation of FTP Processes".&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 17 Jul 2000 12:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/2430949#M3012</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2000-07-17T12:11:26Z</dc:date>
    </item>
  </channel>
</rss>

