New Post: Delete directory recursive
Hi, Sorry, No I currently don't have any recursive operations :(:( Thanks,Oleg
View ArticleNew Post: Cancel a SFTP upload or download
Hi, is there any way to cancel an ongoing sftp upload or download ?I should cancel from the callback method of DownloadFile and UploadFile.Thanks
View ArticleNew Post: ScpClient missing methods
Hi, why ScpClient doesnt have the following functionality ? (cant be done or is just pending?)CreateDirectory DeleteDirectory DeleteFile MoveFile ExistFile ExistDirectory ListDirectory There is...
View ArticleNew Post: ScpClient missing methods
Well,The main reason is that I am not sure if its possible, since I am not familiar with this protocol so well.The only specification and examples I could find is for Upload and Download file(s) or...
View ArticleNew Post: SFTP parallel downloads with one connection - Exception (not...
Hi,that seems to work. Thanks!Just another short question: When I start a download (with BeginDownloadFile) and the download went fine the asyncCallback Method is called. So I know that everything is...
View ArticleNew Post: SFTP parallel downloads with one connection - Exception (not...
Hey,From as far as I remember,by design it was that when you call EndDownload method you should get an exception.So ideally should work like that.You BeginDownloadThen do something and when you get...
View ArticleNew Post: SFTP parallel downloads with one connection - Exception (not...
Yeah I'm dumb ... silly question (forgot to check the asyncCallback Method, because I thought it will only be triggered when the Download succeeded!)So thanks for your time and help, you’re doing a...
View ArticleNew Post: SFTP parallel downloads with one connection - Exception (not...
no problem, Yea, I just did. Thanks for testing it for me. Thanks,Oleg
View ArticleNew Post: Sftp uploads empty file
Could you help me with this I am having the same problem. Here is my code. using (SftpClient client = new SftpClient("172.17.1.5", "user", "password")){ client.Connect(); MemoryStream temp = new...
View ArticleNew Post: Sftp uploads empty file
This is my working code, very simplied since i handle it as interfaces and firing event and other stuff:// been Client SftpClient Client = new SftpClient(Host, User, Password);publicoverridevoid...
View ArticleNew Post: ScpClient missing methods
Hi, im sorry i dont know much about the SCP, the workaround i find is to create a SshShell and send commands, here are how i implement it: ///<summary>/// Runs the...
View ArticleNew Post: ScpClient missing methods
Well, yea, it could be as workaround but basically what it will do is will duplicate some code, since I have similar operations available in SftpClient already.I just strive for client to implement...
View ArticleNew Post: Sftp uploads empty file
Hi, Do you get any exception or may be hanging code while uploading or method exits gracefully? Thanks,Oleg
View ArticleNew Post: Cancel a SFTP upload or download
Hey Please check out latest code,I just added two properties to allow you to cancel either upload or download opration.Here is a usage example: using (var sftpClient = new SftpClient(connectionInfo)) {...
View ArticleNew Post: How to enter the folder with diacritics
Hello,I have a problem with running commands with diacritics. I am Slovak and we have letters like 'ž' or 'č'. When I have a folder called "čž" and I run a command "cd čž" I get an error "bash: line 0:...
View ArticleNew Post: How to enter the folder with diacritics
Hi, Try to use CreateCommand when you creating you command and provide appropriate encoding.For example:CreateCommand(commandText, Encoding.UTF8);But in your case simply use different encoding and let...
View ArticleNew Post: How to enter the folder with diacritics
Hi Oleg, thank you for your answer.i tried many codings that should work for my diacritics but finally nothing worked. Windows-1250 was the closest, it recognized at least 'š' so when I wrote cd češ,...
View ArticleNew Post: How to enter the folder with diacritics
hmm,Ok, let me to investigate this issue further then :(:(. Thanks,Oleg
View ArticleNew Post: How to enter the folder with diacritics
I will write what I'm trying to do. I'm connected to my ssh server runing on Ubuntu. I'm running two commands in one, seperated by ";" (something like "cd blabla; ls -l) so I get the items in the...
View ArticleNew Post: How to enter the folder with diacritics
Hi,I just made some changes and fixes so I think it should work now. In my tests I could create files and run commands and get result I expected.Here is a code example.using (SshClient ssh = new...
View Article