PuTTY bug pscp-size-change

This is a mirror. The primary PuTTY web site can be found here.

Home | Licence | FAQ | Docs | Download | Keys | Links
Mirrors | Updates | Feedback | Changes | Wishlist | Team

summary: PSCP assertion failure if remote source file changes size
class: bug: This is clearly an actual problem we want fixed.
difficulty: tricky: Needs many tuits.
priority: high: This should be fixed in the next release.

If PSCP is used to copy a remote file to the local machine, and the remote file changes in size during the transfer (e.g., an active log file), PSCP can give an error message like "Assertion failed: actuallen <= len, file scp.c, line 1435".

(Note that the same error used to occur for static but particularly large files, but that hasn't been possible since 0.55.)

This assertion is associated with the SFTP backend. A workaround may be to persuade PSCP to use its SCP backend instead (for instance, with the -scp option added in 0.55); you'll avoid the assertion, but I haven't checked that the file will be safely transferred in its entirety.

Audit trail for this bug.


If you want to comment on this web site, see the Feedback page.
(last revision of this bug record was at 2007-05-08 12:52:41 +0100)