<?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 and answer file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374276#M868902</link>
    <description>Hello&lt;BR /&gt;&lt;BR /&gt;I would like to connect to a server with FTP.&lt;BR /&gt;Is it possible to use an answer file to give the parameters and the command.&lt;BR /&gt;&lt;BR /&gt;If yes, can you give the right syntax.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
    <pubDate>Wed, 08 Sep 2004 04:26:56 GMT</pubDate>
    <dc:creator>Wood_2</dc:creator>
    <dc:date>2004-09-08T04:26:56Z</dc:date>
    <item>
      <title>Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374276#M868902</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;I would like to connect to a server with FTP.&lt;BR /&gt;Is it possible to use an answer file to give the parameters and the command.&lt;BR /&gt;&lt;BR /&gt;If yes, can you give the right syntax.&lt;BR /&gt;&lt;BR /&gt;Thank you for your help&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
      <pubDate>Wed, 08 Sep 2004 04:26:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374276#M868902</guid>
      <dc:creator>Wood_2</dc:creator>
      <dc:date>2004-09-08T04:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374277#M868904</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;Try the following:&lt;BR /&gt;&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;open &lt;HOST-ADDRESS&gt;&lt;BR /&gt;etcetera...&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;MB.&lt;/HOST-ADDRESS&gt;</description>
      <pubDate>Wed, 08 Sep 2004 04:34:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374277#M868904</guid>
      <dc:creator>Marcel Boogert_1</dc:creator>
      <dc:date>2004-09-08T04:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374278#M868906</link>
      <description>Hi Nicolas,&lt;BR /&gt;&lt;BR /&gt;Try the following:&lt;BR /&gt;% ftp &amp;lt;&lt;EOF&gt;&lt;/EOF&gt;open wherever.com &lt;BR /&gt;user whatever &lt;BR /&gt;pass password &lt;BR /&gt;put filename &lt;BR /&gt;quit &lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;Also go through this example:&lt;BR /&gt;&lt;A href="http://www.quepublishing.com/articles/article.asp?p=170517&amp;amp;seqNum=2" target="_blank"&gt;http://www.quepublishing.com/articles/article.asp?p=170517&amp;amp;seqNum=2&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sri Ram</description>
      <pubDate>Wed, 08 Sep 2004 04:47:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374278#M868906</guid>
      <dc:creator>R. Sri Ram Kishore_1</dc:creator>
      <dc:date>2004-09-08T04:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374279#M868907</link>
      <description>Or, if you really want to use a file:&lt;BR /&gt;&lt;BR /&gt;ftp -v &amp;lt;&amp;lt; file.ftp&lt;BR /&gt;&lt;BR /&gt;content of file.ftp:&lt;BR /&gt;"open wherever.com &lt;BR /&gt;user whatever &lt;BR /&gt;pass password &lt;BR /&gt;(m)put/(m)get filename &lt;BR /&gt;bye"&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Michael</description>
      <pubDate>Wed, 08 Sep 2004 04:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374279#M868907</guid>
      <dc:creator>Michael_356</dc:creator>
      <dc:date>2004-09-08T04:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374280#M868908</link>
      <description>for the second example&lt;BR /&gt;&lt;BR /&gt;i write&lt;BR /&gt;&lt;BR /&gt;ftp &amp;lt;&amp;lt; EOF&lt;BR /&gt;open frbpcs24&lt;BR /&gt;user root&lt;BR /&gt;pass mypasswd&lt;BR /&gt;dir&lt;BR /&gt;quit&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;the answer&lt;BR /&gt;&lt;BR /&gt;Password:Name (frbpcs24:root):&lt;BR /&gt;Login incorrect.&lt;BR /&gt;Login failed.&lt;BR /&gt;Passive mode on.&lt;BR /&gt;Please login with USER and PASS.&lt;BR /&gt;Passive mode refused. Turning off passive mode.&lt;BR /&gt;Please login with USER and PASS.&lt;BR /&gt;Please login with USER and PASS.&lt;BR /&gt;&lt;BR /&gt;I could not give my password&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Sep 2004 05:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374280#M868908</guid>
      <dc:creator>Wood_2</dc:creator>
      <dc:date>2004-09-08T05:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374281#M868909</link>
      <description>Yes. We can do it by running run ftp in an interactive mode as,&lt;BR /&gt;&lt;BR /&gt;ftp -i -n &lt;REMOTEHOST&gt; &amp;lt;&amp;lt;-EOF 2&amp;gt;/dev/null&lt;BR /&gt;&lt;BR /&gt; user username passwd&lt;BR /&gt; ls&lt;BR /&gt; !hostname&lt;BR /&gt; get /tmp/testfile&lt;BR /&gt; bye&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;It will do it&lt;/REMOTEHOST&gt;</description>
      <pubDate>Wed, 08 Sep 2004 05:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374281#M868909</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-08T05:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374282#M868910</link>
      <description>We can do it more secure and simply with answer file as,&lt;BR /&gt;&lt;BR /&gt;cat &amp;gt; /tmp/ftpanswerfile&lt;BR /&gt;user root &lt;PASSWD&gt;&lt;BR /&gt;ls&lt;BR /&gt;!hostname&lt;BR /&gt;get &lt;FILENAME&gt;&lt;/FILENAME&gt;cd /tmp/&lt;BR /&gt;put file&lt;BR /&gt;bye&lt;BR /&gt;-----&lt;BR /&gt;chmod 700 /tmp/ftpanswerfile&lt;BR /&gt;&lt;BR /&gt;ftp -i -n &lt;REMOTEHOSTNAME&gt; &lt;/REMOTEHOSTNAME&gt;&lt;BR /&gt;It will do it out.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;&lt;/PASSWD&gt;</description>
      <pubDate>Wed, 08 Sep 2004 05:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374282#M868910</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2004-09-08T05:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ftp and answer file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374283#M868911</link>
      <description>It's perfect&lt;BR /&gt;&lt;BR /&gt;Thank you for your help</description>
      <pubDate>Wed, 08 Sep 2004 06:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-and-answer-file/m-p/3374283#M868911</guid>
      <dc:creator>Wood_2</dc:creator>
      <dc:date>2004-09-08T06:50:28Z</dc:date>
    </item>
  </channel>
</rss>

