dartssh2
dartssh2 copied to clipboard
Halting when uploading 0 bytes files.
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.