Skip to content

ScpClient.Upload(DirectoryInfo, string) adds extra directory level #128

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

Closed
drieseng opened this issue Dec 12, 2016 · 0 comments
Closed

ScpClient.Upload(DirectoryInfo, string) adds extra directory level #128

drieseng opened this issue Dec 12, 2016 · 0 comments
Assignees
Labels

Comments

@drieseng
Copy link
Member

When using the SCpClient.Upload(DirectoryInfo, string) overload to upload the content of a directory to an SSH server, an extra directory level is created for the last part of the remote path.

For example:
when the remote path is /home/sshnet/test, then the local files (and subdirectories) will be copied /home/sshnet/test/test instead of /home/sshnet/test.

@drieseng drieseng added the bug label Dec 12, 2016
@drieseng drieseng added this to the 2016.1.0 milestone Dec 12, 2016
@drieseng drieseng self-assigned this Dec 12, 2016
drieseng added a commit that referenced this issue Dec 12, 2016
@drieseng drieseng modified the milestones: 2016-1.0-beta2, 2016.1.0, 2016.1.0-beta1 Jul 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant