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
1
vote
5 answers

What is best practice for large file transfer - SFTP or asymmetric file encryption?

Which is generally considered "best practice" when wanting to securely transmit flat files over the wire? Asymmetric encryption seems to be a pain in that you have to manage keysets at endpoints and make sure that the same algorithm is used by all…
solid_performer
1
vote
3 answers

Virtual File System with FTP

I've been reading through the FileSystem documentation in Python from here: http://packages.python.org/fs/filesystems.html After taking the time to read through it and a bit of Google-ing I didn't quite find the answer I was looking for. I was…
user1130601
  • 237
  • 1
  • 4
  • 15
1
vote
0 answers

Aptana connection error

I have a problem with a SFTP connection on my project. I succeed creating the connection (The Test button told me all was ok) And i can browse through de folders of the connection. I can upload my local files to it But, i can't download files from…
shubakk
  • 11
  • 3
1
vote
4 answers

In a .NET C# program, is it easy to transition from FTP to SFTP?

In a .NET C# program, is it easy to transition from FTP to SFTP? I'm trying to get a sense of how muh time it would take the contractor to make the transition. My personal experience is mostly with PHP, so I have no idea. Basically, what I'm talking…
waiwai933
  • 14,133
  • 21
  • 62
  • 86
1
vote
1 answer

Monitoring Remote Folder over SFTP in a Rails App

As the title says, I need to monitor a remote folder for new files through a SFTP connection. I setup a daemon process that opens a connection and if it finds any files then it retrieves their contents and if it doesn't then it sleeps for 5…
ginterUF
  • 11
  • 2
1
vote
2 answers

Upload file to Secured FTP in ASP.NET

I want to upload files to FTPS and SFTP. My code is currently using FtpWebRequest object to upload to FTP. What changes or class should I use to upload to FTP, FTPS and SFTP servers?
hotcoder
  • 3,176
  • 10
  • 58
  • 96
1
vote
2 answers

BizTalk NSoftware SFTP - Read first file only when second file received

I have a scenario where client drop an XML and a .FINISHED file. Client create the .FINISHED file once it’s finishes writing XML file. Both file have same name. As you can see, I can’t start reading .XML before .FINISHED created. Once XML copied to…
Bob_Arch
  • 11
  • 3
1
vote
1 answer

Catching errors in SCP or SFTP

I am writing a script that will transfer a file from one server to another using SCP or SFTP. It is very important for me to differentiate between different types of errors that occur. My problem, is that the error code returned from SFTP and…
user1160958
  • 193
  • 1
  • 4
  • 13
1
vote
3 answers

sftp put command fails when in shell script

I am trying to make a shell script that creates a mysql dump and then puts it on another computer. I have already set up keyless ssh and sftp. They script below creates the mysql dump file on the local computer when it is run and doesn't throw any…
jeffery_the_wind
  • 17,048
  • 34
  • 98
  • 160
1
vote
1 answer

Using Perl SFTP, I keep getting an fsetstat error when I PUT a file

Trying to SFTP a file to a remote server, the file gets copied over but returns an error. use Net::SFTP; ... my $sftp = Net::SFTP->new($host, %args); $sftp->put("testfile.txt", "testfile.txt.bak"); Gives the following error: list.pl: Couldn't…
Ahmed
  • 135
  • 3
  • 7
1
vote
1 answer

how does TextMate do SVN and ftp?

so far i only know to use Ctrl-Shift-A to do SVN in TextMate. is there an easy way like Ctrl click on the file? is ftp possible?
nonopolarity
  • 146,324
  • 131
  • 460
  • 740
1
vote
2 answers

why permission of file changes after uploading file using sftp?

Suppose The file permission at local machine is 644 and using openssh (sftp) /putty ssh if i upload file to remote file permission in remote machine changed to 640 Why ? What we have to do we we need same permision ? SFTP library implemneted by…
Syedsma
  • 1,183
  • 5
  • 17
  • 22
1
vote
3 answers

solaris sftp: remove remote folder

Does anybody know how to remove remote directory via sftp? sftp doesn't support "rm -r" only "rm", so the only way I see is to save remote folder tree in a file with "rm" prefix and then execute sftp -b file And as sftp doesn't support "ls -lR"…
Nick
  • 820
  • 2
  • 14
  • 29
1
vote
3 answers

Can't SFTP into AWS with Notepad++ (NppFTP)

I set up an EC2 instance using the Amazon AMIs (I believe based on redhat/centos) I set up my security profile to allow 22, and verified it works because I can SSH in just fine using putty and the ppk I created. SFTP on the other hand is a no go. …
trex005
  • 5,015
  • 4
  • 28
  • 41
1
vote
1 answer

Questions about ftps server

I already have code for a ftp server. I am following this code. Now my requirement is to create a ftps server. But my problem is I dont know anything about it. I googled for it. But did not find any useful help. Any suggestion or book name will be…
Barun
  • 1,885
  • 3
  • 27
  • 47