Why do you get corrupt FTP transfers if it's over TCP/IP?
November 24, 2004 4:26 AM
Subscribe
FTP on TCP over IP: As far as i can see, ftp should transfer files perfectly. If you trace the responsibility for validation through the relevant RFCs everything should be handled by the TCP checksum. Yet "everyone" knows that ftp regularly transfers corrupt files. Why? More generally, where is a good forum for discussing this kind of thing (I'm also interested in, for example, multiple parallel ftps (eg gridftp) and the possibility of checking an "instantaneous" checksum value at various points during transfer to detect errors as soon as possible)?
posted by andrew cooke to computers & internet (21 comments total)
1) A lot of overhead communication between the server and the client? (Since the transmission isn't perfectly serial, wouldn't the client have to keep telling the server what it's gotten so far, and asking for a new checksum?)
2) A substantial extra load on the server processor to keep re-calculating interim checksums? (Wouldn't each partial checksum for each download potentially be unique?)
Even if these things are true, I guess it wouldn't mean that they're unworkable, but they would make for a substantially less efficient transfer protocol.
On the other hand, I _could_ just be completely wrong--I'm more just asking...
posted by LairBob at 4:38 AM on November 24, 2004