I am trying to transfer a large (1.5 GB) text file using SCP. While the transfer finishes normally, only 1.4 GB are transferred. Is there any reason for this incomplete transfer. I am on Ubuntu 10.04
Is there anything in the debug output? To see the debug, run scp with the "-v" option.
Also, if there's an incomplete copy, you can use "rsync" to do the file transfer. I'd actually prefer using rsync over scp for any large file for this reason.
Did it actually do an incomplete copy, or is there a filesystem difference that you're seeing?
The best way to measure this is to do an md5 checksum on the source and on the copied file. Depending on your OS, you may have md5sum or md5 to run the checksum, or download an md5 sum utility (for Windows). Compare the outputs. If they differ, you have a corrupt/partial file. If they're the same, you are just seeing a filesystem difference, and it's nothing to worry about.