philipp.marek at linbit
Jan 12, 2012, 2:40 AM
Post #3 of 3
On Thursday, 12. Jan 2012, Toralf Förster wrote:
Re: scp should not report 100% until the last byte is transferred
[In reply to]
> 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] hos:/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% ?
Perhaps another part of the problem is that it doesn't wait for byte
position acknowledgments from the remote side ...
I've seen it fill up the TCP buffers, and then stay at 100% for ~30 seconds
until the buffers were drained over the slow connection.
openssh-unix-dev mailing list
openssh-unix-dev [at] mindrot