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

Commented Issue: SCP : Missing files when using DirectoryUpload [1382]

$
0
0
Hi,

I have the following environment:
- Win7 / 64
- .NET 3.5
- MPC-Target :OpenSSH_6.0p1, OpenSSL 1.0.0j 10 May 2012
- SSH.NET commit 19813

I want to upload a directory structure (recursive, depth = 2) from the PC to a MPC based
Linux remote system. The total amount of data is about 8MB with 23 files from
55 bytes to 4MB.

Calling mScp.Upload(new DirectoryInfo(localDir), remoteDir) does not result any
error and the Uploading event shoes uploading all files. But after Upload() returned
There are a random number of missing files on the target (between 1 and 5).

It tried the same with a PC based Linux as target what resulted in the same behaviour
(OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011). It seems the
problem is caused anywhere within SSH.NET.

Does anyone have a solution?

Extension:
I tried to workaround by replacing Upload(new DirectoryInfo(...)) by several single
calls of Upload(new FileInfo(...)). This worked but is too slow for my application.
Comments: ** Comment from web user: olegkap **

Can you post a code that you using to do it?
I don't think I added support to upload directory using Upload function.

Thanks,
Oleg


Viewing all articles
Browse latest Browse all 1026

Trending Articles



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