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

Adding -T flag for non-strict file path checking to scp get #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

PeterRobots
Copy link

Would also be nice for put, but I don't have the time currently.

@@ -235,8 +235,8 @@ def putfo(self, fl, remote_path, mode='0644', size=None):
self.close()

def get(self, remote_path, local_path='',
recursive=False, preserve_times=False):
# type: (PathTypes, Union[str, bytes], bool, bool) -> None
recursive=False, preserve_times=False, strict_file_names=False):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it really be enabled by default?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No it shouldn't, my mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants