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

New Post: SFTP parallel downloads with one connection - Exception (not threadsafe?)

$
0
0

Thanks for the fast reply.

This was the first thing i thought off and so i tried the same as you described but that doesn't help.

There must be another reason for this failure to occur (it's not server related - tried different ones).

 

Edit: I also tried to force "isConnected = true" even when (this._socket.Available == 0)  -> = true.

And the download went perfectly fine. So (this._socket.Available == 0) reports a wrong value. Maybe a bug?

I also found this way (which you actually use) to truly determine if the socket is still connected as example in different forums. Can't imagine that i'am the first one who encounters a problem with this kind of test. Confusing :-).


Viewing all articles
Browse latest Browse all 1729

Trending Articles



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