mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-21 15:41:17 +00:00
* fix(sftp): prevent corrupt uploads from oversized fastPut chunks Restore ssh2's 32KB default chunk size, verify remote size after upload, and treat stream finish (not close) as success so truncated zip/tar.gz transfers fail loudly instead of looking complete (#2022). Co-authored-by: Cursor <cursoragent@cursor.com> * fix(sftp): wait for stream close after finish on upload fallback Address Codex review: resolving on finish alone can miss close-time server errors while the remote handle is still open. Require finish then close, and fail on premature close. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Cursor <cursoragent@cursor.com>