Linux – SCP does not completely transfer file

linuxscp

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

Best Answer

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.