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

New Post: ScpClient false error detected during upload

$
0
0
Hi,

When I upload a file with ScpClient, the Upload() method calls the method CheckReturnCode() to check if there is no error.
My problem is that there is a message catch by CheckReturnCode() but it is not an error message, it's a message shown at login "AIX 5.3.0.0 (5L)".

As workaround I've modified the code this way:
First I execute the SendExecRequest() method with a simple "echo ." command and if I get a message, I save it and CheckReturnCode() will not raise an error if this message is caught.

Is it known and/or it there another way to solve the problem?

Thanks

Viewing all articles
Browse latest Browse all 1729

Trending Articles



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