Quantcast
Channel: sshnet Discussions Rss Feed
Viewing all articles
Browse latest Browse all 1729

New Post: SCP copy to a specific folder

$
0
0

Hi,

 

I just did a small test but I managed to upload full directory structure as it is and without making any code changes.

May be server that I am using is ok with that so will have to dig into what the standart

Also, I cannot apply this change :

 

string destinationPath = Path.Combine(destinationDirectoryPath, sourceDirectory.Name).Replace(@"\", @"/");

 

 

Since using "/" is usually operating system specific and it might not work everywhere.

 

I will try to dig more into standards and see what I can find.

 

Thanks,

Oleg


Viewing all articles
Browse latest Browse all 1729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>