-
Notifications
You must be signed in to change notification settings - Fork 153
Sftp recursive #45
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
Sftp recursive #45
Conversation
… into sftp_recursive Conflicts: pssh/ssh_client.py
… into sftp_recursive Conflicts: pssh/ssh_client.py Merged in new mkdir function.
|
Could we get a test for the failing behaviour, ie what happens when Can copy/paste the test you have and not supply
|
|
Sure, I'll add a test that just doesn't supply the recurse parameter. Should I throw some kind of exception when the user tries to copy a directory without setting recurse to true? |
|
I decided to have it throw an exception when a directory is supplied to |
|
Thanks for the test @Caid11 - looks great. One last thing, can we get the docstring for Can see the syntax at https://github.com/pkittenis/parallel-ssh/blob/master/pssh/ssh_client.py#L143 |
|
Sure thing. |
Allow recursive copy via SFTP on `copy_file` function - resolves #21
|
Thanks for doing this @Caid11 - much appreciated. Forgot something - Also same docstring change for the new parameter and exception. Can do this next time I'm in the code, very small change, or submit a new PR for it if you want (I don't think it's possible to add new commits to a merged PR). NB - New functionality in |
|
Sorry, I didn't notice your comment until today. I'll open a PR to fix it after I'm done with the current one. If you happen to fix it before I do, that's fine too. |
New one to fix bad rebase showing incorrect differences.