dartssh2 icon indicating copy to clipboard operation
dartssh2 copied to clipboard

Halting when uploading 0 bytes files.

Open gaddlord opened this issue 3 years ago • 0 comments

When attempting to SFTP upload an empty file (with 0 bytes in size) the upload halts (neither raises an error, no exits the program).

The client machine where the program is executes is Windows the remote one is Amazon Linux 2.

One might wonder what is the use case for such files. Sometime programs create programx.lock files which are used as a persisted on file system boolean switch.

gaddlord avatar Dec 12 '22 11:12 gaddlord