<?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 return values in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434370#M768243</link>
    <description>you can use here document in your script and then check if the ftp was successfull or not&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;AAA=$(ftp -n hostname 2&amp;gt;&amp;amp;1 &amp;lt;&amp;lt; EOD&lt;BR /&gt;user (name of user)&lt;BR /&gt;binary&lt;BR /&gt;put /get file&lt;BR /&gt;EOD&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;if [[ -n $AAA ]]&lt;BR /&gt;then&lt;BR /&gt;   print ftp was not successfull&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;hope this helps &lt;BR /&gt;&lt;BR /&gt;cheers</description>
    <pubDate>Thu, 03 Aug 2000 08:31:31 GMT</pubDate>
    <dc:creator>Devbinder Singh Marway</dc:creator>
    <dc:date>2000-08-03T08:31:31Z</dc:date>
    <item>
      <title>ftp return values</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434368#M768241</link>
      <description>Is there a way to retrieve return values for ftp from within a korn shell script?</description>
      <pubDate>Wed, 02 Aug 2000 18:55:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434368#M768241</guid>
      <dc:creator>Rick Taylor</dc:creator>
      <dc:date>2000-08-02T18:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: ftp return values</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434369#M768242</link>
      <description>Not sure what you mean here, but if you use the verbose switch you'll see all the answer-backs you get from the server.  This will include the message number and text.&lt;BR /&gt;&lt;BR /&gt;    ftp -v</description>
      <pubDate>Wed, 02 Aug 2000 21:29:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434369#M768242</guid>
      <dc:creator>Mike McKinlay</dc:creator>
      <dc:date>2000-08-02T21:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: ftp return values</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434370#M768243</link>
      <description>you can use here document in your script and then check if the ftp was successfull or not&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;AAA=$(ftp -n hostname 2&amp;gt;&amp;amp;1 &amp;lt;&amp;lt; EOD&lt;BR /&gt;user (name of user)&lt;BR /&gt;binary&lt;BR /&gt;put /get file&lt;BR /&gt;EOD&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;if [[ -n $AAA ]]&lt;BR /&gt;then&lt;BR /&gt;   print ftp was not successfull&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;hope this helps &lt;BR /&gt;&lt;BR /&gt;cheers</description>
      <pubDate>Thu, 03 Aug 2000 08:31:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434370#M768243</guid>
      <dc:creator>Devbinder Singh Marway</dc:creator>
      <dc:date>2000-08-03T08:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: ftp return values</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434371#M768244</link>
      <description>Here's the way I've solved the problem. (see attachment)&lt;BR /&gt;you have to be careful with the returncodes. Some rare event might result in a returncode that is not monitored in your script and promptly mess up your returncode handling.&lt;BR /&gt;I have to adjust the script regularly.&lt;BR /&gt;Some ftp commands are different or don't even exist on other versions of ftp (e.g. in Windows NT)&lt;BR /&gt;&lt;BR /&gt;greetz&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Aug 2000 13:23:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-return-values/m-p/2434371#M768244</guid>
      <dc:creator>Bart Paulusse</dc:creator>
      <dc:date>2000-08-08T13:23:00Z</dc:date>
    </item>
  </channel>
</rss>

