New Post: lock on _incoming
Hello,I think I found small bug. There was no lock in Read function (ShellStream.cs). This cause a crash in (Channel_DataReceived) under heavy load. Fixed fragment:publicoverrideint Read(byte[] buffer,...
View ArticleNew Post: Server to Server transfer support using FXP
Hi,How i can achieve Server to Server FTP file transfer using FXP. if possible please share me the sample C# code
View ArticleNew Post: How can i get Host Fingerprint algorith.
I'm using SFTP. I found a very nice event.... "HostKeyReceived". With it I can read the fingerprint. Most common using algorith is SSH-RSA. But what if its a different one?I found the part of the code...
View ArticleNew Post: lock on _incoming
Hi,You correct, thanks for pointing this out. I just committed a code with this fix. Thanks,Oleg
View ArticleNew Post: What causes "An established connection was aborted by the software...
Hey, What do you mean by open calls?If you mean that it hangs then I tried to address it in latest release.It should either timeout or throw an exception.I remember I was trying to handle the situation...
View ArticleNew Post: How can i get Host Fingerprint algorith.
Hi, Please check latest source code where I added HostKeyName property to HostKeyEventArgs. Thanks,Oleg
View ArticleNew Post: Renci.SshNet.Common.SshOperationTimeoutException on Disconnect()
Hi Oleg,We will do so this week. I let you know about the result.Thanks,Christoph
View ArticleNew Post: Server to Server transfer support using FXP
This is not possible with this library.FXP is an FTP feature, this library is used for SSH connections (SSH, SCP, SFTP).
View ArticleNew Post: Where are the errors ?
Hi, From what I managed to check, when an error occurs all I get is status code and message, which I wrapping into exception and throw it to the client.The only thing I can think of is that maybe...
View ArticleNew Post: Where are the errors ?
Hey,From what I could see is that later SFTP protocols support more error codes.For example version 4 already have SSH_FX_WRITE_PROTECT status code which might be relevant in your case.Unfortunately I...
View ArticleNew Post: File Corrupt After SFTP Upload
Hi, Please check latest version I committed where I resolved an issues with file could be corrupted on upload due to some blocks are not written. Thanks,Oleg
View ArticleNew Post: Renci.SshNet.Common.SshException: Failure on UploadFile
Does it happen for every file?Also, please check latest committed source code version since I made some improvements for file upload. Thanks,Oleg
View ArticleNew Post: Disconnect hanging in the 4.0 binary
I recently fixed very similar issue. Can you please test your code with the latest version and let me know if you still having this issue? Thanks,Oleg
View ArticleNew Post: Annoying 'no matching DH grp found'...
Hi Martin, Sorry for getting back to you on this so late. I was busy with other project and had no time :(If you still can help to debug this problem, first I think we should establish what DH groups...
View ArticleNew Post: Delete Symbolic Link
HI, From protocol point of view I didn't see any command that can be used to delete link only to create one.What happens when you try to resolve file using link name it will return an actual file,...
View ArticleNew Post: Adding events to shell
how to provide ctrl+C and ctrl+D events and to open a file through vi editor using the ShellStream class or any other class...
View ArticleNew Post: Delete Symbolic Link
Hi,So it should normally work like deleting a normal file ?Because, I still get a failure while trying to remove a symbolic link. And deleting the file doesn't delete the link.
View ArticleNew Post: Where are the errors ?
Ok, I can understand that.But why does it get stuck in the method ? Is there any other solution (except the timeout?)
View ArticleNew Post: File Corrupt After SFTP Upload
Hi Oleg,Thanks for your reply.I am infact using the latest version. The SSHNET 4.0. I still face the same issue.If I set the buffersize of the sftpclient and the buffer size of stream same then it...
View Article