Quantcast
Channel: sshnet Discussions Rss Feed
Browsing all 1729 articles
Browse latest View live

New Post: SCP copy to a specific folder

Hi, I just did a small test but I managed to upload full directory structure as it is and without making any code changes.May be server that I am using is ok with that so will have to dig into what the...

View Article


New Post: Weird problem on SSH Port Forwarding

Thanks for the reply,I made typo when I edit the format of the first post, as you point out, The code I am using is about the same as yours sshClient = new SshClient("10.112.125.42", myUsername,...

View Article


New Post: SSH.NET Library Supports Standard FTP

Well, it would be interesting, if FTP (not secure) will be supported. I can take a look into the code and make derived from sftp an ftp class. Just dont know when it can be. I'll post the code... maybe...

View Article

New Post: Weird problem on SSH Port Forwarding

Hi, Can you try this? sshClient.Connect();var fowardPort = new ForwardedPortLocal("127.0.0.1", 10000, "www.cnn.com", 80); sshClient.AddForwardedPort(fowardPort);var fowardPort2 = new...

View Article

New Post: A Little Help With Connection Settings

Just found your project.  Looks pretty good.  Having a small issue getting going.Used the example code as a base such that I have this:using (var client = new SshClient("<host>", "<user>",...

View Article


New Post: A Little Help With Connection Settings

Hi, Unfortunately I cannot provide much help with that since the issue you described is server specific.When command is executed it runs in its own environment, which probably set up differently from...

View Article

New Post: SSH.NET Library Supports Standard FTP

Ftp and Sftp are really 2 different things, I think for Ftp related operation you should check for an Ftp library.

View Article

New Post: SSH.NET Library Supports Standard FTP

Yes, agreed,And there are quite few FTP libraries here on codeplex.http://ftplib.codeplex.com/http://ftps.codeplex.com/ and probably more. Thanks,Oleg

View Article


New Post: SCP copy to a specific folder

Oh, you've seen this. Sorry, I didn't make a proper issue to track.I'm on Debian Linux uktnlx01 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686I've seen other people with this error (not with...

View Article


New Post: SCP copy to a specific folder

From what I was checking, currently I do not send directory path but only directory name.I used to have it in a past but I think few people complaint that it doesnt work, so I dont provide full path...

View Article

New Post: Hang connecting to MYSQL

Hi, The code below works fine and connects securely to the server and then the database but once its run a second time its hangs for about 5-6 seconds while opening the MYSQL connection and running a...

View Article

New Post: Shell functionlity

I've read through this thread several times, I started with SharpSSH, and had it working, but every-time I issued a new command to set the environment or do something else dependent I failed me, then I...

View Article

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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New 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 Article

New 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 Article
Browsing all 1729 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>