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

write stream does not write file #136

Open
spearmootz opened this issue Jul 16, 2019 · 1 comment
Open

write stream does not write file #136

spearmootz opened this issue Jul 16, 2019 · 1 comment

Comments

@spearmootz
Copy link

spearmootz commented Jul 16, 2019

So i do SFTP uploads using fastput and at some point it stops and closes the sftp connection.

now i added debugging and added just a bit of logging.

writting file //start writting file
DEBUG[SFTP]: Outgoing: Writing OPEN
DEBUG: Outgoing: Writing CHANNEL_DATA (0)
// its supposed to rename the file at this point but doesnt because it does not finish writting it.
writting file //moves on, possibly because i time out the original writting promise and move on
DEBUG[SFTP]: Outgoing: Writing OPEN
DEBUG: Outgoing: Writing CHANNEL_DATA (0)
DEBUG: Outgoing: Writing CHANNEL_CLOSE (0)
sftp ended // this is done automatically, not because i call sftp.end().

@mscdex
Copy link
Owner

mscdex commented Jul 16, 2019

Do you have a minimal code example that reproduces this? Also, what server (remote ident shown in the debug logs) is this with?

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