German mirror provided by / Deutscher Spiegelserver von E-Commerce Onlineshops und Webdesign in Duisburg - obengelb GmbH  &  SEO LEO
 

PuTTY bug pscp-size-change

This is a mirror. Follow this link to find the primary PuTTY web site.

Home | FAQ | Feedback | Licence | Updates | Mirrors | Keys | Links | Team
Download: Stable · Snapshot | Docs | Privacy | Changes | Wishlist

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.


If you want to comment on this web site, see the Feedback page.
Audit trail for this bug.
(last revision of this bug record was at 2017-04-28 16:52:45 +0100)