Re: How to tell if FTP file transferred correctly
From: Bill Vermillion (bv_at_wjv.comREMOVE)
Date: 05/29/04
- Next message: phn_at_icke-reklam.ipsec.nu: "Re: Windows XP to SCO Unix"
- Previous message: John: "Strange errors - network driver?"
- In reply to: Tony Condon: "Re: How to tell if FTP file transferred correctly"
- Next in thread: Nachman Yaakov Ziskind: "Re: How to tell if FTP file transferred correctly"
- Reply: Nachman Yaakov Ziskind: "Re: How to tell if FTP file transferred correctly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 May 2004 03:25:01 GMT
In article <5a6a767.0405281210.4b995fdb@posting.google.com>,
Tony Condon <tony@acslhome.com> wrote:
>"Greg Hines" <greghines@bigfoot.com.nospam> wrote in message news:<40b59af0_1@news.iprimus.com.au>...
>> Hi all,
>>
>> I'm using an FTP script to transfer several files via a slow ISDN connection
>> from one SCO OSR5.0.5 to another OSR5.0.5.
>>
>> I've setup a .netrc file as:
>>
>> machine 192.168.0.5 login myname password mypassword
>>
>> The FTP script is:-
>> ftp 192.168.0.5 << done
>> binary
>> prompt off
>> put /tmp/$file1.tar.z
>> put /tmp/$file2.tar.z
>> put /tmp/$file3.tar.z
>> done
>>
>> The above all works fine. However, I would like to somehow test if the file
>> transfers completed successfully.
>>
>> Has anyone any ideas how this can be done?
>>
>> Thanks in advance,
>>
>> Greg
>We've done this in the past by doing a 'dir' of the file sent and
>capture that to a file and compare the received size with the sent
>size.
Received size is only a guarantee that the size it the same but
tells you nothing of the contents.
Run some verification on the file before tranmission, and run it on
the received side and compare the results.
I like MD5 for things like that and always use it when transfering
large size files - such as ISO images of 600+MB
-- Bill Vermillion - bv @ wjv . com
- Next message: phn_at_icke-reklam.ipsec.nu: "Re: Windows XP to SCO Unix"
- Previous message: John: "Strange errors - network driver?"
- In reply to: Tony Condon: "Re: How to tell if FTP file transferred correctly"
- Next in thread: Nachman Yaakov Ziskind: "Re: How to tell if FTP file transferred correctly"
- Reply: Nachman Yaakov Ziskind: "Re: How to tell if FTP file transferred correctly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]