scp should not report 100% until the last byte is transferred
Peter Stuge
peter at stuge.se
Thu Jan 12 21:17:16 EST 2012
Toralf Förster wrote:
> just my opinion, but yesterday I run into a case, where after 7 hours of
> transferring a file (a little bit greater than 1 GB) the scp reported 100% and
> after that exited with an error (AIX 7.1):
>
> $ tsocks scp foo user at host:/tmp
> ...
> 100% 1101MB 44.2KB/s 448.0KB/s 7:05:38
> scp: /tmp/foo: File too large
>
> Probably it should not be rounded up to 100% ?
The scp protocol is very primitive, and I'm not sure that an error
can be detected at all until after 100% has been sent.
Recommend use SFTP.
//Peter
More information about the openssh-unix-dev
mailing list