<?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 Script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926329#M557771</link>
    <description>I think auto login is not allowed to MVS. Every example for using ftp to MVS is simply asking to use prompt. Example: &lt;A href="http://www.isc.ucsb.edu/tsg/ftp-to-mvs.html" target="_blank"&gt;http://www.isc.ucsb.edu/tsg/ftp-to-mvs.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth.</description>
    <pubDate>Thu, 15 Sep 2005 07:33:46 GMT</pubDate>
    <dc:creator>Muthukumar_5</dc:creator>
    <dc:date>2005-09-15T07:33:46Z</dc:date>
    <item>
      <title>FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926321#M557763</link>
      <description>Whenever I execute the following FTP commands I get the subsequent error. Does anyone know whether this a result of the server or the client? (I'm executing them manually to try to debug a scripted version)&lt;BR /&gt;&lt;BR /&gt;ftp -niv&lt;BR /&gt;ftp&amp;gt; open xxx.xxx.xxx.xxx&lt;BR /&gt;Connected to xxx.xxx.xxx.xxx.&lt;BR /&gt;220-FTPD1 IBM FTP aa aaaa at aaaa, 11:02:45 on 2005-09-15.&lt;BR /&gt;220 Connection will close if idle for more than 15 minutes.&lt;BR /&gt;Remote system type is MVS.&lt;BR /&gt;ftp&amp;gt; user XXXXX&lt;BR /&gt;500 User Exit denies Userid '' from using Command 'USER'.&lt;BR /&gt;Login failed.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 06:19:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926321#M557763</guid>
      <dc:creator>Steve Entwistle</dc:creator>
      <dc:date>2005-09-15T06:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926322#M557764</link>
      <description>Are you allowed to do ftp? check it - /etc/ftpd/ftpusers file.</description>
      <pubDate>Thu, 15 Sep 2005 06:30:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926322#M557764</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-09-15T06:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926323#M557765</link>
      <description>I think remote machine is denying to login with XXXXX user. Can you try with root there as,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ftp -niv &lt;IP-ADDRESS&gt;&lt;BR /&gt;ftp&amp;gt; user root&lt;BR /&gt;&lt;BR /&gt;what u r getting?&lt;BR /&gt;&lt;BR /&gt;hth.&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Thu, 15 Sep 2005 06:32:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926323#M557765</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-15T06:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926324#M557766</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;Also see the /etc/ftpd/ftpaccess file, or even /etc/passwd to see if that user is alowed to login on that machine.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Borislav</description>
      <pubDate>Thu, 15 Sep 2005 06:36:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926324#M557766</guid>
      <dc:creator>Borislav Perkov</dc:creator>
      <dc:date>2005-09-15T06:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926325#M557767</link>
      <description>Sorry I didn't make it very clear on reflection.&lt;BR /&gt;I don't have an ftpusers file as my HPUX box is the client end of the connection and I don't have any control over the remote (MVS) server. However if I  start a "regular" ftp session  without -niv then I can connect without any problems.</description>
      <pubDate>Thu, 15 Sep 2005 06:38:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926325#M557767</guid>
      <dc:creator>Steve Entwistle</dc:creator>
      <dc:date>2005-09-15T06:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926326#M557768</link>
      <description>I beleive you have problem with auto login in AIX, check that server.</description>
      <pubDate>Thu, 15 Sep 2005 07:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926326#M557768</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-15T07:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926327#M557769</link>
      <description>what is your ftp version? May be you are getting problem with prompting.&lt;BR /&gt;&lt;BR /&gt;-ni is used for interactive prompting.&lt;BR /&gt;&lt;BR /&gt;ftp -i -nv &lt;IP-ADDRESS&gt; &amp;lt;&amp;lt;-EOF&lt;BR /&gt;user &lt;USER&gt; &lt;PASSWD&gt;&lt;BR /&gt;ls&lt;BR /&gt;bye&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Is it working there? &lt;BR /&gt;&lt;BR /&gt;what is your os version?&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;&lt;/PASSWD&gt;&lt;/USER&gt;&lt;/IP-ADDRESS&gt;</description>
      <pubDate>Thu, 15 Sep 2005 07:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926327#M557769</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-15T07:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926328#M557770</link>
      <description>My scripted version is coded as you suggest but fails, which is why I've been trying each step manually. The o/s version is 10.20 and interestingly, the same script works without fault when it is run from a DG/UX system, with the same login credentials.</description>
      <pubDate>Thu, 15 Sep 2005 07:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926328#M557770</guid>
      <dc:creator>Steve Entwistle</dc:creator>
      <dc:date>2005-09-15T07:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926329#M557771</link>
      <description>I think auto login is not allowed to MVS. Every example for using ftp to MVS is simply asking to use prompt. Example: &lt;A href="http://www.isc.ucsb.edu/tsg/ftp-to-mvs.html" target="_blank"&gt;http://www.isc.ucsb.edu/tsg/ftp-to-mvs.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hth.</description>
      <pubDate>Thu, 15 Sep 2005 07:33:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926329#M557771</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-15T07:33:46Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926330#M557772</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;The remote system is the one generating the error so, unless you know the admin of the MVS box, you're a bit out of luck.&lt;BR /&gt;&lt;BR /&gt;I find it curious that the same commands work from a DG/UX box.  There might be some type of security that allows the user@DG/UX to run the command but prohibits anyone else.  I'm not familiar with MVS, so I don't know if that's the case or even possible; however, that's what its looking like.&lt;BR /&gt;&lt;BR /&gt;You might try a ~/.netrc file (600 perms, remember) to see if that will enable you to auto-login.  If that works, you should be able to run the rest  of your script w/o the user/password commands...&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Sep 2005 07:35:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926330#M557772</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2005-09-15T07:35:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926331#M557773</link>
      <description>Many thanks for your responses. After creating .netrc the auto login negates the need for specifying the user and password details within my script. I can then execute subsequent FTP commands within the session without any further problems.</description>
      <pubDate>Thu, 15 Sep 2005 08:45:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-script/m-p/4926331#M557773</guid>
      <dc:creator>Steve Entwistle</dc:creator>
      <dc:date>2005-09-15T08:45:08Z</dc:date>
    </item>
  </channel>
</rss>

