New Post: After downloading file from SFTP, we will get null value in the...
We are using latest version of SSH.Net library. We are getting null value in the file extension once file is downloaded from the server. Please check below BOLD word "myFile". When we check the...
View ArticleNew Post: su command
Hihow can I execute the su linux command? I've this code: public void sshTest() { using (var client = new SshClient("host", "myuser", "mypassword")) {...
View ArticleNew Post: su command
Hi, From what I found out you cannot use su command with command execution,You will need to use Shell class which will open tty and allow this command to be executed.Hope it helps,Thanks,Oleg
View ArticleNew Post: After downloading file from SFTP, we will get null value in the...
Hi, If you mean that Extensions is null, it means that SFTP server probably did not return any additional information.However I could not find any server to test this feature on and only implemented it...
View ArticleNew Post: Carriage Returns Stipped from Downloaded File?
Hello, I just stumbled onto this library and I really like it, but my first attempt at using it ran into a snag. I successfully downloaded a sample text file via the SftpClient, but the downloaded...
View ArticleNew Post: Carriage Returns Stipped from Downloaded File?
Hi,I can take a look at it.Can you post a code example that you using?Also, can you post a code that I can run to create this file on my machine or may be if you get me a test account on your machine...
View ArticleNew Post: Carriage Returns Stipped from Downloaded File?
Thank You for the quick reply Oleg! Yes I am connecting to an SFTP server.My simple test file contents looks like this when edited in Notepad:record number onerecord number tworecord number threeWhen...
View ArticleNew Post: Carriage Returns Stipped from Downloaded File?
I have done a bit more research on this subject, and here is some of what I have found-These are notes from CoreFTP's Help Manuals:Site Settings - SSHSimulate ASCII mode for SFTP -- Applies to "Putty...
View ArticleNew Post: Carriage Returns Stipped from Downloaded File?
One last note, I have just tried this method, and the file downloaded the way that I hoped it would:''Now go get each file we just foundForEach sfile In dlist fname = sDirRemote + sfile sDestFile =...
View ArticleNew Post: SCP copy to a specific folder
Hi Oleg,When you say "I don't provide full path *now* in D0755 request" what do you mean by now? The version I downloaded - I don't know the version, the assembly version isn't baked into the...
View ArticleNew Post: 3.5 Source Code for release 2013.1.8?
Hello, are you able to provide the source code for .net 3.5 for the stable release? Thank you, Gerri
View ArticleNew Post: 3.5 Source Code for release 2013.1.8?
Hi, Unfortunately not but if you want to you can produce it your self.You can download the project using source code tab, this is where I have a project that produces 3.% assembly.The way it works is...
View ArticleNew Post: SCP copy to a specific folder
Hi, I guess it was not entirely correct then,Recently, I mean like month or while ago, so those changes are already included.Why incorrect, because I made a change to use only filename instead of full...
View ArticleNew Post: Hang connecting to MYSQL
Hi, It would be hard for me to tell where problem might be, but what you can try to do here is may be to run in debug modeand when it connects for second time and hangs, I would pause and see where it...
View ArticleNew Post: 3.5 Source Code for release 2013.1.8?
Thanks Oleg, I downloaded the source successfully. I had to make a few changes to make it compile in VS2008 (replacing default parameters with overloaded functions).I am having a problem with the...
View ArticleCreated Issue: Payload cannot be more then 32768 bytes. [1465]
During 144 KB file upload exception occur.Could you please advice where is the problem - in my code or in the Renci.SshNet.dll ?System.InvalidOperationException: Payload cannot be more then 32768...
View ArticleCommented Issue: Payload cannot be more then 32768 bytes. [1465]
During 144 KB file upload exception occur.Could you please advice where is the problem - in my code or in the Renci.SshNet.dll ?System.InvalidOperationException: Payload cannot be more then 32768...
View ArticleNew Post: SFTP parallel downloads with one connection - Exception (not...
Hi! Tried the following:- open one SFTP-Connection to a server- starting several downloads parallel (tried sync and async)- Exception is thrown by checking if "isConnected" (it's called before starting...
View ArticleNew Post: Hang connecting to MYSQL
Hi Oleg,It pauses for a few seconds on the following lines after its passed through the first time:conn.Open();da.Fill(dt);When you connect without SSH the code is fine now matter how many time you...
View ArticleNew Post: SCP copy to a specific folder
Hi OlegLinux uktnlx01 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686The above distro causes the error for copying directories with path delimiters / I've not tried on any others. I work with...
View Article