Questions tagged [sftp]

GENERAL SFTP SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com. SSH File Transfer Protocol, a network protocol designed to provide secure file transfer and manipulation facilities over SSH (Secure Shell protocol).

The SSH File Transfer Protocol (also Secret File Transfer Protocol, Secure FTP, or SFTP) is a network protocol that provides file access, file transfer, and file management functionality over any reliable data stream. It was designed by the Internet Engineering Task Force (IETF) as an extension of the Secure Shell protocol (SSH) version 2.0 to provide secure file transfer capability, but is also intended to be usable with other protocols. The IETF of the Internet Draft states that even though this protocol is described in the context of the SSH-2 protocol, it could be used in a number of different applications, such as secure file transfer over Transport Layer Security (TLS) and transfer of management information in VPN applications.

This protocol assumes that it is run over a secure channel, such as SSH, that the server has already authenticated the client, and that the identity of the client user is available to the protocol.

This should not be confused with FTPS. For questions regarding FTPS, see the corresponding tag .

5135 questions
2
votes
4 answers

Implementing SFTP in 2.0

I want to write SFTP clients and servers in .NET 2.0. Is that possible? Please give me some suggestions
karthik
  • 4,485
  • 8
  • 30
  • 45
2
votes
1 answer

Connecting to AS400 server from java code through SFTP

I am trying to write a java code which will connect to a AS400 server through SFTP and transfer files. I am using Jsch for SFTP. I have entered user_name, password and host-url to connect. But I discovered that AS400 server is refusing connection.…
Anup
  • 927
  • 2
  • 14
  • 30
2
votes
1 answer

Authentication Type error in Paramiko using SFTP

I am using paramiko to establish an SFTP connection with a public/private key exchange. They key is an SSH2 RSA key. When I try to connect I'm receiving the error BadAuthenticationType: Bad authentication type (allowed_types=['']). Does anyone have…
user2452745
  • 21
  • 1
  • 2
2
votes
1 answer

Python + Paramiko - Checking whether two files are identical without downloading

I have a script that downloads a lot of fairly large (20MB+) files. I would like to be able to check if the copy I have locally is identical to the remote version. I realize I can just use a combination of date modified and length, but is there…
Jordan Reiter
  • 20,467
  • 11
  • 95
  • 161
2
votes
2 answers

How to download specific files from remote server using SFTPClient?

I am new for SFTP Server. I am tried to upload and download files using SFTP server. It's a stand alone application. While downloading files from remoter server to local server, I able to download list of files under specified path using following…
Raghu King
  • 87
  • 2
  • 3
  • 13
2
votes
1 answer

JSCH SFTP login using two factor authentication

I am trying to connect to SFTP server using JSCH, server is configured for two factor authentication. But I am unable to find any option in JSCH to connect to the server using both password and keys at a time. Help me if anyone knows how to connect…
2
votes
1 answer

Download complete directory command line psftp

I have to move a complete folder from one source to another destination. I have tried mget * and xcopy, but neither works. Please suggest some snippets. I'm using psftp to connect the SFTP server. My code is: cd Remote path lcd Local path mget…
suresh
  • 303
  • 2
  • 4
  • 14
2
votes
1 answer

Upload file FTP server

I am stuck during connecting to my FTP server through apache FTP client. I found lots of program out there but I am not able to connect to my FTP server through the below code. FTPClient ftpClient = new…
Souvik
  • 1,219
  • 3
  • 16
  • 38
2
votes
1 answer

Uploading a file to a SFTP server

I'm trying to connect to a SFTP server and upload a file through php. I've installed php lib (php_ssh2) but it's failing at this point:
Javier C. H.
  • 2,124
  • 2
  • 19
  • 30
2
votes
2 answers

PHP sftp + fopen compared to ssh2_scp_send

I wanted to if there is any real difference using PHP sftp for file open like shown here and with ssh2_scp_send I am planning on uploading multiple files per php session and want to not spend to much time in uploading the files. If anyone is aware…
WojonsTech
  • 1,277
  • 1
  • 13
  • 28
2
votes
1 answer

Tectia command line - download files from server based on uploaded/modified date

My server machine has a Unix OS. I am able to download files from my Unix server to local(windows) machine using scpg3 command line of Tectia. Now, I want to copy only those files which are uploaded (modified-date) on specific Date. I used below…
RaisKazi
  • 21
  • 1
  • 4
2
votes
2 answers

JSCH (SFTP) fails on change dir on sub folders level (second level)

JSch's SFTP channel fails to change directory when the previous directory is not in the root directory (ftp home). It happens only on some SFTP servers and not all of them. For example the directory structure is this: / level-1 level-2 cd…
user2292916
  • 261
  • 1
  • 4
  • 12
2
votes
3 answers

Uploading files using SCP using phpseclib

I need to create 2 functions: one to upload files using SFTP and another using SCP. I'm using phpseclib and the put method; I believe I have the SFTP function done. Now, I'm trying to do the SCP function. Per…
snoopy76
  • 305
  • 2
  • 7
  • 15
2
votes
2 answers

cURL php extension for windows with SCP and SFTP support

I switched over to zendserver(VS8 php(5.3) binaries), and now curl(7.19.4) seems to be lacking SCP and SFTP protocol support(verified by errors and phpinfo). Curl itself is installed correctly, it's just lacking the protocol support mentioned. This…
Chrisdfer
  • 21
  • 3
2
votes
1 answer

python modules for scp/sftp with bandwidth limitation

What python modules are available that can enable bandwidth throttling when pulling data over scp/sftp, if any? My objective here is to write a python script that will pull data over sftp or scp (sftp preferred) from a series of data centers?…
Rob
  • 51
  • 1
  • 9