<?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 checking in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231004#M328669</link>
    <description>thx reply,&lt;BR /&gt;&lt;BR /&gt;If you want to verify your transfer, and you want to use FTP, enable verbose logging ('-v') and parse the session's messages for a successful transfer. Beware that the content of the message may vary depending on the FTP used on the target server.&lt;BR /&gt;&lt;BR /&gt;Better than that, use Perl's Net::FTP module. This makes error checking simple.&lt;BR /&gt;&lt;BR /&gt;Yet another (better) alternative is to use SFTP. You can do this in a shell; let the SFTP fail on error; and use its return code ($?) to assess the success or failure of the operation.&lt;BR /&gt;&lt;BR /&gt;Testing the source and destination file's checksum is fine *IF* your transfer is a binary one or for ASCII transfers, the end-of-line controls don't change. Hence, a Unix/Windows ASCII transfer is doomed to have its checksums mismatch.&lt;BR /&gt;&lt;BR /&gt;-------------------------------&lt;BR /&gt;I think this is good suggestions , but I am not too familiar with script writing , it may have difficult for me , except use ftp , can advise what is another way to transfer file that I can make sure the files has been successfuly transfered ? if need , I can ask the administrator to login ID to do checksum .&lt;BR /&gt;&lt;BR /&gt;thx advise .&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 10 Jul 2008 13:59:35 GMT</pubDate>
    <dc:creator>haeman</dc:creator>
    <dc:date>2008-07-10T13:59:35Z</dc:date>
    <item>
      <title>ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4230997#M328662</link>
      <description>I have a script to use ftp to transfer file from local server to remote server ( the command is put ) regularly , if I want to log what files are successful / unsuccessful transferred , and then re-transer these unsuccesful files , can advise what can i do ? thx</description>
      <pubDate>Thu, 10 Jul 2008 05:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4230997#M328662</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-07-10T05:29:30Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4230998#M328663</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can have checksum tally for both files. Get cheksum value of source file and match it with chksum of trasferred file. If both matches then ftp is sucessful. check manpage for more details&lt;BR /&gt;&lt;BR /&gt;#man cksum</description>
      <pubDate>Thu, 10 Jul 2008 06:01:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4230998#M328663</guid>
      <dc:creator>Shrikant Lavhate</dc:creator>
      <dc:date>2008-07-10T06:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4230999#M328664</link>
      <description>&lt;!--!*#--&gt;Hi Haeman&lt;BR /&gt; Check the following example:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;ftp -n -v rac1 &amp;lt;&amp;gt;/var/ftpmsg&lt;BR /&gt;user root root123&lt;BR /&gt;cd /swift&lt;BR /&gt;delete $D&lt;BR /&gt;bye&lt;BR /&gt;!&lt;BR /&gt;&lt;BR /&gt; Here /var/ftpmsg having the logs.&lt;BR /&gt;&lt;BR /&gt; Thanks and regards,&lt;BR /&gt; Davis Paul.&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 06:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4230999#M328664</guid>
      <dc:creator>Davis Paul</dc:creator>
      <dc:date>2008-07-10T06:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231000#M328665</link>
      <description>thx Shrikant L, &lt;BR /&gt;&lt;BR /&gt;I do not have password in remote server ( the remote server is hosted by other company ) , what can i do ? thx</description>
      <pubDate>Thu, 10 Jul 2008 06:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231000#M328665</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-07-10T06:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231001#M328666</link>
      <description>Also, you can have ftp clients from this site: &lt;A href="http://hpux.connect.org.uk" target="_blank"&gt;http://hpux.connect.org.uk&lt;/A&gt; to ensure smooth n sucessful trasfer.</description>
      <pubDate>Thu, 10 Jul 2008 07:15:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231001#M328666</guid>
      <dc:creator>Shrikant Lavhate</dc:creator>
      <dc:date>2008-07-10T07:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231002#M328667</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you want to verify your transfer, and you want to use FTP, enable verbose logging ('-v') and parse the session's messages for a successful transfer.  Beware that the content of the message may vary depending on the FTP used on the target server.&lt;BR /&gt;&lt;BR /&gt;Better than that, use Perl's Net::FTP module.  This makes error checking simple.&lt;BR /&gt;&lt;BR /&gt;Yet another (better) alternative is to use SFTP.  You can do this in a shell; let the SFTP fail on error; and use its return code ($?) to assess the success or failure of the operation.&lt;BR /&gt;&lt;BR /&gt;Testing the source and destination file's checksum is fine *IF* your transfer is a binary one or for ASCII transfers, the end-of-line controls don't change.  Hence, a Unix/Windows ASCII transfer is doomed to have its checksums mismatch.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 10 Jul 2008 13:18:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231002#M328667</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-07-10T13:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231003#M328668</link>
      <description>thx reply&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;ftp -n -v rac1 &amp;lt;&amp;gt;/var/ftpmsg&lt;BR /&gt;user root root123&lt;BR /&gt;cd /swift&lt;BR /&gt;delete $D&lt;BR /&gt;bye&lt;BR /&gt;!&lt;BR /&gt;&lt;BR /&gt;it seems log the connection , what I would like is what files has been transfered and re-transfer if it was unsuccessful , could advise what can i do ? thx</description>
      <pubDate>Thu, 10 Jul 2008 13:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231003#M328668</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-07-10T13:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231004#M328669</link>
      <description>thx reply,&lt;BR /&gt;&lt;BR /&gt;If you want to verify your transfer, and you want to use FTP, enable verbose logging ('-v') and parse the session's messages for a successful transfer. Beware that the content of the message may vary depending on the FTP used on the target server.&lt;BR /&gt;&lt;BR /&gt;Better than that, use Perl's Net::FTP module. This makes error checking simple.&lt;BR /&gt;&lt;BR /&gt;Yet another (better) alternative is to use SFTP. You can do this in a shell; let the SFTP fail on error; and use its return code ($?) to assess the success or failure of the operation.&lt;BR /&gt;&lt;BR /&gt;Testing the source and destination file's checksum is fine *IF* your transfer is a binary one or for ASCII transfers, the end-of-line controls don't change. Hence, a Unix/Windows ASCII transfer is doomed to have its checksums mismatch.&lt;BR /&gt;&lt;BR /&gt;-------------------------------&lt;BR /&gt;I think this is good suggestions , but I am not too familiar with script writing , it may have difficult for me , except use ftp , can advise what is another way to transfer file that I can make sure the files has been successfuly transfered ? if need , I can ask the administrator to login ID to do checksum .&lt;BR /&gt;&lt;BR /&gt;thx advise .&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2008 13:59:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231004#M328669</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-07-10T13:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231005#M328670</link>
      <description>Hi,&lt;BR /&gt;as already suggested you can check teh retrun code or error message redirecting the output (stderr and stin) in afile and check it.&lt;BR /&gt;BTW the best way to be sure about the copy of teh file is (after the put) to get back the file copied with another name and perform a cksum or cmp or diff of the files.&lt;BR /&gt;In this way you are sure that teh file has been correctly copied.&lt;BR /&gt;Just my .02$&lt;BR /&gt;HTH,&lt;BR /&gt;Art</description>
      <pubDate>Fri, 11 Jul 2008 06:41:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231005#M328670</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2008-07-11T06:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231006#M328671</link>
      <description>&amp;gt;Arturo: BTW the best way to be sure about the copy of the file is (after the put) to get and perform a cksum or cmp or diff of the files.&lt;BR /&gt;&lt;BR /&gt;This probably works best when using "bin" to copy the files.  Or both HP-UX.</description>
      <pubDate>Fri, 11 Jul 2008 08:17:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231006#M328671</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2008-07-11T08:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: ftp checking</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231007#M328672</link>
      <description>Hi Dennis,&lt;BR /&gt;this is completly true.&lt;BR /&gt;Rgds,&lt;BR /&gt;Art</description>
      <pubDate>Thu, 17 Jul 2008 06:56:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ftp-checking/m-p/4231007#M328672</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2008-07-17T06:56:46Z</dc:date>
    </item>
  </channel>
</rss>

