<?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 Automation (Script) Inquiry in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334094#M189558</link>
    <description>This is a basic script that I have that FTPs from on of my Unix servers.  The main problem with this is the hard coding of the passwords.  &lt;BR /&gt;-v is for verbose&lt;BR /&gt;-n is to disable the auto-login.&lt;BR /&gt;&lt;BR /&gt;# File Name   : ftpprov.sh&lt;BR /&gt;#&lt;BR /&gt;ftp -v -n &amp;gt;/home/batchjob/ftpprov.log &amp;lt;&amp;lt; EOJ&lt;BR /&gt;open 10.10.2.10 &lt;BR /&gt;user &lt;USERNAME&gt; &lt;PASSWORD&gt;&lt;BR /&gt;cd prod&lt;BR /&gt;ascii&lt;BR /&gt;put /general/todspl.dat provfe&lt;BR /&gt;&lt;BR /&gt;Hope this provides some direction.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;close&lt;BR /&gt;bye&lt;BR /&gt;EOJ&lt;BR /&gt;&lt;/PASSWORD&gt;&lt;/USERNAME&gt;</description>
    <pubDate>Fri, 16 Jul 2004 14:05:52 GMT</pubDate>
    <dc:creator>Jim Mallett</dc:creator>
    <dc:date>2004-07-16T14:05:52Z</dc:date>
    <item>
      <title>FTP Automation (Script) Inquiry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334093#M189557</link>
      <description>I would like to automate an FTP function thru scripting.   Can someone send me a sample script containing the required commands/info to do this?</description>
      <pubDate>Fri, 16 Jul 2004 14:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334093#M189557</guid>
      <dc:creator>fbi</dc:creator>
      <dc:date>2004-07-16T14:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Automation (Script) Inquiry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334094#M189558</link>
      <description>This is a basic script that I have that FTPs from on of my Unix servers.  The main problem with this is the hard coding of the passwords.  &lt;BR /&gt;-v is for verbose&lt;BR /&gt;-n is to disable the auto-login.&lt;BR /&gt;&lt;BR /&gt;# File Name   : ftpprov.sh&lt;BR /&gt;#&lt;BR /&gt;ftp -v -n &amp;gt;/home/batchjob/ftpprov.log &amp;lt;&amp;lt; EOJ&lt;BR /&gt;open 10.10.2.10 &lt;BR /&gt;user &lt;USERNAME&gt; &lt;PASSWORD&gt;&lt;BR /&gt;cd prod&lt;BR /&gt;ascii&lt;BR /&gt;put /general/todspl.dat provfe&lt;BR /&gt;&lt;BR /&gt;Hope this provides some direction.&lt;BR /&gt;&lt;BR /&gt;Jim&lt;BR /&gt;close&lt;BR /&gt;bye&lt;BR /&gt;EOJ&lt;BR /&gt;&lt;/PASSWORD&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 16 Jul 2004 14:05:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334094#M189558</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-07-16T14:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Automation (Script) Inquiry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334095#M189559</link>
      <description>Jim's script is the way to go except that the signature should come after the script :-).&lt;BR /&gt;&lt;BR /&gt;ftp -v -n &amp;gt;/home/batchjob/ftpprov.log &amp;lt;&amp;lt; EOJ&lt;BR /&gt;open 10.10.2.10 &lt;BR /&gt;user &lt;USERNAME&gt; &lt;PASSWORD&gt;&lt;BR /&gt;cd prod&lt;BR /&gt;ascii&lt;BR /&gt;put /general/todspl.dat provfe&lt;BR /&gt;close&lt;BR /&gt;bye&lt;BR /&gt;EOJ&lt;/PASSWORD&gt;&lt;/USERNAME&gt;</description>
      <pubDate>Fri, 16 Jul 2004 14:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334095#M189559</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-07-16T14:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Automation (Script) Inquiry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334096#M189560</link>
      <description>Thanks Sundar....  silly me.&lt;BR /&gt;&lt;BR /&gt;I've been away so long I've forgotten how to cut/paste/reply at the same time.&lt;BR /&gt;</description>
      <pubDate>Fri, 16 Jul 2004 14:18:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334096#M189560</guid>
      <dc:creator>Jim Mallett</dc:creator>
      <dc:date>2004-07-16T14:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Automation (Script) Inquiry</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334097#M189561</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can also use the following:&lt;BR /&gt;In the home dir of the user, which runs ftp the file called .netrc should be created. The file's example is below, after "macdef init" you may write all ftp commands:&lt;BR /&gt;&lt;BR /&gt;machine ftp_server_name&lt;BR /&gt;login usern&lt;BR /&gt;password PASSWD&lt;BR /&gt;macdef init&lt;BR /&gt;asci&lt;BR /&gt;cd incoming&lt;BR /&gt;lcd /tmp&lt;BR /&gt;put swlist.out&lt;BR /&gt;quit&lt;BR /&gt;&lt;BR /&gt;After this the user runs ftp ftp_server_name and that's all&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 16 Jul 2004 14:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-automation-script-inquiry/m-p/3334097#M189561</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2004-07-16T14:19:09Z</dc:date>
    </item>
  </channel>
</rss>

