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

Commented Issue: The proccess stuck on the command UploadFile [1303]

$
0
0
<p>Hi when I Using this Code In VS2010 it's Work fine, But when I run it outside VS2010</p>
<p>the proccess stuck on the command UploadFile and I need to stop the proccess, and I can see</p>
<p>that the file uploaded to the server</p>
<p>&#160;</p>
<p>sftp.Connect();</p>
<p>&#160;</p>
<p> using (var file = File.OpenRead(localFileName))</p>
<p> {</p>
<p> sftp.UploadFile(remoteFileName, file);</p>
<p> }</p>
<p>&#160;</p>
<p> sftp.Disconnect();</p>
<p>&#160;</p>
<p>and there is no exception.</p>
<p>&#160;</p>
<p>Any suggestion?</p>
<p>&#160;</p>
<p>Thanks</p>
Comments: ** Comment from web user: olegkap **

Please take a look at 22089 commit. I changed default buffer size to be smaller to avoid this and Isuspect possible few other issues.


Viewing all articles
Browse latest Browse all 1026

Trending Articles



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