<?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 Error trapping in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572326#M831076</link>
    <description>Humphrey,&lt;BR /&gt;you could look at using the PERL::FTP module.&lt;BR /&gt;Also look at the man ftpd for a better breakdown of the ftp error codes.&lt;BR /&gt;Quick way to check successful transfer would be checksum the file before sending and then compare against checksum with rsh.&lt;BR /&gt;Regards</description>
    <pubDate>Tue, 28 Jun 2005 10:07:09 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2005-06-28T10:07:09Z</dc:date>
    <item>
      <title>FTP Error trapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572325#M831075</link>
      <description>I would like to trap all FTP error messages particularly when the network drops i.e. files are not transferred their entirety.&lt;BR /&gt;&lt;BR /&gt;filedir=/informatica/7.1/fileshare/SrcFiles&lt;BR /&gt;ftpLogDir=/informatica/7.1/fileshare/Scripts/ftplogs&lt;BR /&gt;/usr/bin/ftp -n -v $HOST &amp;lt;&lt;EOA 2=""&gt;&amp;amp;1 ${ftpLogDir}/ftp.log &lt;BR /&gt;quote user $USER&lt;BR /&gt;quote pass $PASSWD&lt;BR /&gt;ascii&lt;BR /&gt;cd $DIR&lt;BR /&gt;prompt&lt;BR /&gt;get $FILE ${filedir}/$FILE&lt;BR /&gt;bye&lt;BR /&gt;EOA&lt;BR /&gt;&lt;BR /&gt;Is there a better way of trapping errors besides scanning the log files for error codes&lt;BR /&gt;?&lt;BR /&gt;&lt;BR /&gt;&lt;/EOA&gt;</description>
      <pubDate>Tue, 28 Jun 2005 09:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572325#M831075</guid>
      <dc:creator>Humphrey_1</dc:creator>
      <dc:date>2005-06-28T09:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Error trapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572326#M831076</link>
      <description>Humphrey,&lt;BR /&gt;you could look at using the PERL::FTP module.&lt;BR /&gt;Also look at the man ftpd for a better breakdown of the ftp error codes.&lt;BR /&gt;Quick way to check successful transfer would be checksum the file before sending and then compare against checksum with rsh.&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 28 Jun 2005 10:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572326#M831076</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2005-06-28T10:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Error trapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572327#M831077</link>
      <description>By far, the easiest method is Perl's Net::FTP module. You get error checking for free. The attached script will make it very easy for you and will return a meaning error code to the shell. If 0 status is returned, all is well. You can specify the login, password, optional account, directory, binary or ASCII, and the file(s) on the command line and all you need to do is look at the status.&lt;BR /&gt;&lt;BR /&gt;It will also use .netrc if available so that the password does not have to be specified.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Jun 2005 10:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572327#M831077</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-28T10:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Error trapping</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572328#M831078</link>
      <description>Ooops, I should have added invoke as ftpget.pl -u for full usage. This script will even work on Windows if one the the freely available Perls is installed.</description>
      <pubDate>Tue, 28 Jun 2005 10:50:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-error-trapping/m-p/3572328#M831078</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-28T10:50:44Z</dc:date>
    </item>
  </channel>
</rss>

