New Post: Adding events to shell
Hi, Sorry for delay, Unfortunately there are no events and I don't think it possible to make them.All communication to and from shell is based on what characters do you send and different terminals can...
View ArticleNew Post: Shell functionlity
Hi,m For this reason, where you need to handle multiple prompts you have Expect method with ExpectAction parameters where you can specify what to do for each individual prompt. Thanks,Oleg
View ArticleNew Post: Exception Message that is blank quotes
The reason the error message is blank is because thats what I receive from the server, so I simply wrapping it into exception and throwing it back to the user.Unfortunately I dont have any advise on...
View ArticleNew Post: Delete Symbolic Link
Hmm,I am wondering if that could be a server issue, may be some server will allow delete of symlink using SFTP and some not.Did you tried the same behavior on different server? is that the same?Is it...
View ArticleNew Post: Does SftpClient.UploadFile overwrite existing files?
Hi, Thanks for project example,I will try it tomorrow and see what I can find. Thanks,Oleg
View ArticleNew Post: File Corrupt After SFTP Upload
Hmm,Strange,Can you send me the code you are using?Also, would it be possible for me to see the problem for myself?Also, did you try to upload it to different server? Thanks,Oleg
View ArticleNew Post: Does SftpClient.UploadFile overwrite existing files?
Hi,Ok, So I looked at it and to achive what you want to to you need to use Open method instead of OpenWrite.I tried to implemented OpenWrite method similar to File.OpenWrite.So its behaviour is the...
View ArticleNew Post: Delete Symbolic Link
Another thought,As far as deleting directories,You need to use DeleteDirectory method since Delete can delete only files, this is due to SFTP specificationAs far as why it can give you an error here...
View ArticleNew Post: Does SftpClient.UploadFile overwrite existing files?
Hi!Thank you for your answer, I already use Open instead of OpenWrite.I was just wondering if OpenWrite should behave like it behave or like Open with the right parameters. Because when using it I...
View ArticleNew Post: Delete Symbolic Link
Hi!So I made some test on different servers, they all result in the same behaviors.I created a file and a link to it. I created a directory and a link to it. So in my dir I have:linkToDir ->...
View ArticleNew Post: Where are the errors ?
This happens only on MacOS X sftp servers, so I send you a private message with the information to connect and try it.
View ArticleNew Post: Where are the errors ?
Thanks,Ok, So I found an issue.What happens is that SFTP channel is being closed and I am not handling this situation in that case,Will try to come up with a generic fix and will let you know. Thanks,Oleg
View ArticleNew Post: Issue while executing multiple commands
Hi, I have a requirement where i have to fire module load command before submitting a job.My Code sequence is as SshClient client = new SshClient("0.0.0.0", "UN", "PWD"); client.Connect(); SshCommand...
View ArticleSource code checked in, #22363
Fix to handle channel closed message by SubsystemSession class
View ArticleNew Post: Where are the errors ?
Hey, I just commited a fix for the problem you described.I could not find an error message to display but now it does not hang but throws an exception saying that channel was closed. Please let me know...
View ArticlePatch Uploaded: #13574
StrAbZ has uploaded a patch.Description:On line 381, I switched the line 381, with the line 383,384 this will check if method is null before using it. Because we get a NullReferenceException instead of...
View ArticleSource code checked in, #22398
Add few examples into code comments Fix some XML comments Add test placeholders to implement in the future
View ArticleNew Post: Renci.SshNet.Common.SshOperationTimeoutException on Disconnect()
Hi Oleg,We have testet your latest version. The situation has improved a lot. Out of 200 attemts 196 successed which is a great improvement. Before your latest changes the result would have been the...
View ArticleNew Post: SCP : Missing files when using DirectoryUpload
Hi,thank you for trying to reproduce. I'm using a very simple code fragment:using (mSsh = new SshClient(address, user, pass)) { mSsh.Connect();using (mScp = new ScpClient(address, user, pass)) {...
View Article