Re:Ask HN: What is your favorite method of sending large files?
by Matthias247 on Wednesday September 02, 2020 @04:48PM
(#24357972)
and if you are not worried about corruption. You might at least want to run a checksum on both ends and compare them.
[ Parent
| on HN ]
Re:Ask HN: What is your favorite method of sending large files?
by myself248 on Wednesday September 02, 2020 @05:52PM
(#24358595)
Nah, unix nerds don't care about data corruption. That's the responsibility of some other layer, so by definition we're not in trouble if the whole thing blows up by our own negligence.
Checkmate, rsync.
Re:Ask HN: What is your favorite method of sending large files?
by gpm on Wednesday September 02, 2020 @06:44PM
(#24359078)
Netcat is tcp is "reliable" and has checksums for each packet, as long as the length is right you can be reasonably assured that the file transferred correctly.
Not that extra checksums are a bad idea...
Re:Ask HN: What is your favorite method of sending large files?
by Matthias247 on Wednesday September 02, 2020 @09:10PM
(#24359947)
TCP indeed has checksums! But they are known not to offer ultimate protection. I had to deal with hosts corrupting TCP streams due to bad hardware before. Which was luckily detected by higher level checksums.