<?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 Scripting in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869841#M398530</link>
    <description>In addition to the space between the user and password, add -i to the ftp options to disable interactive prompting.&lt;BR /&gt;&lt;BR /&gt;mark</description>
    <pubDate>Wed, 10 Nov 2004 10:03:34 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2004-11-10T10:03:34Z</dc:date>
    <item>
      <title>FTP Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869838#M398527</link>
      <description>I've been trying to figure out why I can't get this FTP script to work correctly (this is my first real attempt at writing an FTP script).  I can't seem to get the script to login yet, it won't take the password.  I've copied the script below:&lt;BR /&gt;&lt;BR /&gt;USER=username&lt;BR /&gt;PASS=password&lt;BR /&gt;COLLECT=" /home/username/audit"&lt;BR /&gt;FILE1=" au_audit.op"&lt;BR /&gt;&lt;BR /&gt;cd /home/ye103910/logftp01&lt;BR /&gt;&lt;BR /&gt;ftp -nv 10.2??.?.? &amp;lt;&lt;FTPEOF&gt;/tmp/get_logftp01.$$&lt;BR /&gt;user ${USER}${PASS}&lt;BR /&gt;cd${COLLECT}&lt;BR /&gt;get${FILE1}&lt;BR /&gt;quit&lt;BR /&gt;FTPEOF&lt;BR /&gt;&lt;BR /&gt;The error output is as follows:&lt;BR /&gt;&lt;BR /&gt;Connected to 10.2??.?.?.&lt;BR /&gt;220 logftp01.tntlogistics.co.uk FTP server (Version 1.1.214.8 Fri Apr 20 07:27:42 GMT 2001)&lt;BR /&gt; ready.&lt;BR /&gt;Remote system type is UNIX.&lt;BR /&gt;Using binary mode to transfer files.&lt;BR /&gt;331 Password required for usernamepassword.&lt;BR /&gt;530 Login incorrect.&lt;BR /&gt;Login failed.&lt;BR /&gt;530 Please login with USER and PASS.&lt;BR /&gt;530 Please login with USER and PASS.&lt;BR /&gt;221 Goodbye.&lt;BR /&gt;&lt;BR /&gt;Any ideas anyone?&lt;/FTPEOF&gt;</description>
      <pubDate>Wed, 10 Nov 2004 09:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869838#M398527</guid>
      <dc:creator>Yvonne Butler</dc:creator>
      <dc:date>2004-11-10T09:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869839#M398528</link>
      <description>Don't you need a space between ${USER} and ${PASS} ? As in:&lt;BR /&gt;&lt;BR /&gt;user ${USER} ${PASS}&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 10 Nov 2004 09:58:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869839#M398528</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2004-11-10T09:58:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869840#M398529</link>
      <description>In fact your missing some other spaces as well. Try:&lt;BR /&gt;&lt;BR /&gt;USER=username&lt;BR /&gt;PASS=password&lt;BR /&gt;COLLECT=" /home/username/audit"&lt;BR /&gt;FILE1=" au_audit.op"&lt;BR /&gt;&lt;BR /&gt;cd /home/ye103910/logftp01&lt;BR /&gt;&lt;BR /&gt;ftp -nv 10.2??.?.? &amp;lt;&lt;FTPEOF&gt;/tmp/get_logftp01.$$&lt;BR /&gt;user ${USER} ${PASS}&lt;BR /&gt;cd ${COLLECT}&lt;BR /&gt;get ${FILE1}&lt;BR /&gt;quit&lt;BR /&gt;FTPEOF&lt;BR /&gt;&lt;/FTPEOF&gt;</description>
      <pubDate>Wed, 10 Nov 2004 09:59:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869840#M398529</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2004-11-10T09:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869841#M398530</link>
      <description>In addition to the space between the user and password, add -i to the ftp options to disable interactive prompting.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Wed, 10 Nov 2004 10:03:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869841#M398530</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-11-10T10:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Scripting</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869842#M398531</link>
      <description>You are all correct about putting spaces in the appropriate places and adding -i to the initial line.  Most importantly was that I'd been using the wrong password (DOH!!!).&lt;BR /&gt;&lt;BR /&gt;Thanks everyone...</description>
      <pubDate>Wed, 10 Nov 2004 10:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-scripting/m-p/4869842#M398531</guid>
      <dc:creator>Yvonne Butler</dc:creator>
      <dc:date>2004-11-10T10:15:21Z</dc:date>
    </item>
  </channel>
</rss>

