Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Halting when uploading 0 bytes files. #50

Open
gaddlord opened this issue Dec 12, 2022 · 0 comments
Open

Halting when uploading 0 bytes files. #50

gaddlord opened this issue Dec 12, 2022 · 0 comments
Assignees

Comments

@gaddlord
Copy link

gaddlord commented Dec 12, 2022

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.

@xtyxtyx xtyxtyx self-assigned this Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants