-
Notifications
You must be signed in to change notification settings - Fork 14
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
SCP recursive sub-directory upload issue #34
Comments
What was the SCP command? The SCP support was contributed to the project and it is a "nice to have", but not really part of SFTP and is incomplete. |
My upload command was : File tree :
|
Can you run the command in verbose mode? (-v) There's a a commented "wait for ack" here: https://github.com/Memset/sftpcloudfs/blob/master/sftpcloudfs/scp.py#L213 That could be the 0 you see. |
I tried to uncomment L213, but It raises an SCP internal Exception after the first file because I also noticed this issue is not 100% reproductible (the extra |
Interesting! I'm not familiar with the protocol, I'll have a read to see what does that 0 mean. |
When uploading sub-directories containing more than 1 file with scp, an extra
\x00
is inserted in channel, causing error while parsing record inrecv_inner()
.How to reproduce :
Logs :
My (dirty) workaround :
Any hints on what's causing this behaviour ?
The text was updated successfully, but these errors were encountered: