9 replies
by cpfeiffe
by cmorris
Note that it is possible for the ftp process to finish without correctly copying the file. If you can check the file size on the remote site you could compare it with the local copy. Some sites provide an additional file with a verification signature. If so, run a virification program locally and see if it is a match.
Sometime, you could just see if the file size is growing keeping in mind that the data is probably being buffered by the system so you won't see file size changing every time some data is transmitted.
Hope this helps
by unixadmin
by dnastudios
Send the data you want followed by an empty file.
e.g. sending abc.txt of 10000 bytes
put abc.txt
!touch /tmp/abc.chk
put /tmp/abc.chk abc.chk
Only access tha abc.txt file when the abc.chk file has been received.
Note that ftp does not guarantee complete and correct transfer of the data from one system to another.
Best regards,
David
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending