Quantcast
Channel: sshnet Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1026

Created Unassigned: SCP : option not to create directory structure when uploading with a Stream [1605]

$
0
0
First, let me say that this library is really great! I had a requirement of accessing a private network through a SSH tunnel, and setting up port forwarding with your library was a breeze.

Now, I have a problem with `ScpClient.Upload`:
`ScpClient.Upload(FileInfo, string)` doesn't create the directory structure whereas `ScpClient.Upload(Stream, string)` does. Not only this is inconsistent, but I'm currently uploading a stream to a device that doesn't support directory creation, and I have no way to turn it off, unless writing to a temporary file first and using the FileInfo overload, which I would rather avoid.

Could you please add an option to create the structure? Thanks!

Viewing all articles
Browse latest Browse all 1026

Trending Articles