tagged [sftp]

"The requested name is valid, but no data of the requested type was found" when connecting to SFTP with SharpSsh

"The requested name is valid, but no data of the requested type was found" when connecting to SFTP with SharpSsh I have to download some files from a SFTP location. I am using the `SharpSsh` libraries...

20 Jun at 09:12

Copying or moving a remote file using SSH.NET with C#

Copying or moving a remote file using SSH.NET with C# I know that I can upload and download files from/to a SFTP server using `SftpClient` class of SSH.NET library but I am not sure how can this class...

25 Mar at 12:55

Unable to upload a file SFTP using SSH.NET in C# - Permission Denied

Unable to upload a file SFTP using SSH.NET in C# - Permission Denied I am trying to upload a file using SFTP protocol using C# using SSH.NET library. Below is the code I am using ``` FileInfo f=new Fi...

SFTP in Python? (platform independent)

SFTP in Python? (platform independent) I'm working on a simple tool that transfers files to a hard-coded location with the password also hard-coded. I'm a python novice, but thanks to ftplib, it was e...

11 Jan at 15:42

Single line sftp from terminal

Single line sftp from terminal Several times throughout the day, I may be running a test where I need to look through a log file on a remote server. I've gotten used to using my terminal to `sftp` int...

9 Jan at 07:28

Download files from SFTP with SSH.NET library

Download files from SFTP with SSH.NET library ``` string host = @"ftphost"; string username = "user"; string password = "********"; string localFileName = System.IO.Path.GetFileName(@"localfilename");...

1 Nov at 08:15

"Renci.SshNet.Common.SshException: Invalid private key file" when loading SSH private key from configuration string using SSH.NET

"Renci.SshNet.Common.SshException: Invalid private key file" when loading SSH private key from configuration string using SSH.NET I'm trying to send a file to some server using SFTP. During this proce...

1 Apr at 09:3

JSchException: Algorithm negotiation fail

JSchException: Algorithm negotiation fail I am trying to connect to remote sftp server over ssh with JSch (0.1.44-1) but during `session.connect();` I am getting this exception: ``` com.jcraft.jsch.JS...

9 Jul at 00:56