Commented Issue: Exception thrown on disconnect [1561]
If SshClient.Disconnect() is called just after the connected server is no longer available an exception occurs. Looks like there is a race condition on calling Disconnect. Checks are made for a...
View ArticleCommented Issue: Unhandled exception during SftpClient Dispose [1581]
We are facing an unhandled exception during Dispose of the SftpClient. 2013-05-13 12:54:22,711 [2] FATAL - AppDomain.UnhandledExceptionRenci.SshNet.Common.SshConnectionException: Client not connected....
View ArticleCommented Issue: Exception thrown on disconnect [1561]
If SshClient.Disconnect() is called just after the connected server is no longer available an exception occurs. Looks like there is a race condition on calling Disconnect. Checks are made for a...
View ArticleCreated Unassigned: Infinite loop in SocketReadLine Method [1582]
First of all you are doing a great job, Thank's for that. Where was an infinite loop ,do {..} while {.. buffer[buffer.Count - 1] == 0x0A ...} condition wasn't true, and a i get exception...
View ArticleCreated Unassigned: Remove Line Feed from WriteLine method in Shellstream...
When working with the expect method, it was discovered the WriteLine was sending an linefeed after a carriage return. This was throwing some SSH implementations off because the linefeed is being...
View ArticleCommented Issue: Remote File exists not working [1574]
I've tried to use sftp.Exists(String) do not work for files. Already tested for file and for directory. Directory work well, but files are not recognized.Comments: ** Comment from web user: deanis ** I...
View ArticleCommented Issue: Remote File exists not working [1574]
I've tried to use sftp.Exists(String) do not work for files. Already tested for file and for directory. Directory work well, but files are not recognized.Comments: ** Comment from web user:...
View ArticleCreated Unassigned: Random NullReferenceException during SFTP disconnect [1587]
Hi,I have a windows service which synchronizes through SFTP with custom specified intervals, it is installed on 3 machines with 3 different operating systems. On one machine an exception occurs...
View ArticleCreated Unassigned: Bash problemusing ssh.net Library [1591]
Hi, here is my code```ssh.Connect(); var cmd = ssh.CreateCommand("ls -all"); var asynch = cmd.BeginExecute(delegate(IAsyncResult ar){ Console.WriteLine(cmd.Result);}, null); var cmd1 =...
View ArticleCreated Unassigned: SSH through Proxy Problem [1601]
Hello guys,im trying to connect through a proxy to my SSH server but i get an exception:"__Renci.SshNet.Common.SshOperationTimeoutException: Socket read operation has timed out at...
View ArticleCommented Issue: SCP : Missing files when using DirectoryUpload [1382]
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 19813I want to upload a directory structure (recursive, depth = 2) from...
View ArticleCreated Unassigned: SCP : option not to create directory structure when...
First, let me say that this library is really great! I had a requirement of accessing a private network through a SSH tunnel, and setting up port forwarding with your library was a breeze.Now, I have a...
View ArticleCommented Issue: SCP : Missing files when using DirectoryUpload [1382]
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 19813I want to upload a directory structure (recursive, depth = 2) from...
View ArticleCommented Issue: SftpClient deletefile/delete fails after Exists check [1497]
I am trying to delete a file after checking for existance, Below is the code:```using (SftpClient sftp = new SftpClient(hostName, portNumber, userName,...
View ArticleCommented Unassigned: Random NullReferenceException during SFTP disconnect...
Hi,I have a windows service which synchronizes through SFTP with custom specified intervals, it is installed on 3 machines with 3 different operating systems. On one machine an exception occurs...
View ArticleCommented Unassigned: Random NullReferenceException during SFTP disconnect...
Hi,I have a windows service which synchronizes through SFTP with custom specified intervals, it is installed on 3 machines with 3 different operating systems. On one machine an exception occurs...
View ArticleCreated Unassigned: Sftp BeginUploadFile is not uploading [1629]
``` private void SendXmlFile(XDocument xDocument){ var fileName = GenerateFileName(); using (var client = new SftpClient("127.0.0.1", 990, "user01", "us3r01")){ client.Connect(); var stream =...
View ArticleCommented Unassigned: Sftp BeginUploadFile is not uploading [1629]
``` private void SendXmlFile(XDocument xDocument){ var fileName = GenerateFileName(); using (var client = new SftpClient("127.0.0.1", 990, "user01", "us3r01")){ client.Connect(); var stream =...
View ArticleCommented Unassigned: Sftp BeginUploadFile is not uploading [1629]
I'm trying to send file asynchronously using sftp client BeginUploadFile.Either using stream or string path.See 1.png and 2.png to see the IAsynResult of the callback function.I'm using it with dotnet...
View ArticleCommented Issue: Seeing a protected memory exception [1549]
I am seeing a protected memory exception when connecting to device.```Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at...
View Article