Skip to content

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

@drieseng

Description

@drieseng

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions