The SSH File Transfer Protocol, (sometimes called Secure 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.

learn more… | top users | synonyms

78
votes
10answers
190k views

How do I get an entire directory in sftp?

I'm just learning to use sftp, and I want to copy a directory from the remote computer to my local computer. If I try get [directory] it gives me this error: Cannot download non-regular file: ...
56
votes
2answers
53k views

What's the difference between scp and sftp?

Usually, I use the scp command to transfer files on *nixes. What's the difference between SFTP and SCP? Don't they both work on SSH?
29
votes
1answer
27k views

Notepad++ and sFTP Support

Anyone knows of a sFTP plugin for Notepad++ ? I just checked FTP_syncrhonize and it doesnt support sFTP. (please no "use filezilla/winscp/putty" answers).
15
votes
2answers
7k views

FTPS versus SFTP versus SCP

I would like to know exactly what the difference is between the following protocols: FTPS, SFTP, and SCP. For instance Unix has an scp tool, FileZilla offers FTP and SFTP, whereas JetBrains PhpStorm ...
15
votes
2answers
36k views

Connect to server using SFTP and public ssh key using FileZilla on Windows

Is it possible to generate an ssh key on a windows machine then use that key to connect to a server using SFTP via FileZilla? This is all working with my Mac but I have a client that is stuck in a ...
14
votes
5answers
16k views

SFTP as a folder on Vista

Is there a program available for Vista, that allows me to set up a folder as an SFTP connection to a remote server? The use case is to have a folder on my desktop, where I can drag/drop/edit files ...
11
votes
1answer
8k views

Using SCP or SFTP with my ssh config file?

Perhaps my google-foo is failing me here... I'd like to connect and upload a mysql dump file via terminal using SFTP or SCP to my remote server using my ssh config file. According to documentation ...
10
votes
5answers
56k views

sftp: upload all files, directories and sub-directories contained in a folder

On machine A I have the folder /home/a/ On machine B I have the folder /home/b/ I wish transfer all files, directories and sub-directories of /home/a in /home/b with sftp On machine A I tried ...
9
votes
1answer
3k views

How to add pointers to filesystems outside the chrooted environment - using chrooted SFTP via OpenSSH

So, I'm pretty sure this is true, but I haven't found a specifically detailed independent reference that directly answers my question. Question being: How can I add access to a resource that is ...
8
votes
1answer
22k views

How can I setup the openSSH SFTP server on Linux?

I want to configure sftp-server to share a directory but I don't know how to modify /etc/ssh/sshd_config. My requirements are: 1) Login shall not use certificates, only password (i.e. authorization ...
7
votes
3answers
9k views

Is it possible to rate-limit an scp/sftp/rsync/etc transfer from the command-line? ie, manual QoS on a single command?

Specifically, I am looking to rate-limit an scp or sftp session (or other arbitrary network call) in the call itself. For example, let's say I want to copy 100MB to one server, and 1GB to another. ...
7
votes
3answers
3k views

SFTP over double server hop

I'm trying to work out a method to allow me to access files on an SFTP server than I cannot access from my local machine. Currently, I have to SSH to a remote server (it is in a certain IP block that ...
7
votes
3answers
9k views

Accessing SFTP folders transparently in Explorer on Windows 7

One feature available on Linux (using Nautilus from Gnome) that I really like a lot is the ability to access remote servers via SFTP just by typing sftp://server/folder and saving those as bookmarks. ...
6
votes
4answers
3k views

Possible cause(s) of slow transfer on home network?

I have the following home network setup: ZyXEL P-2602HW-D1A Router Ubuntu 10.04 Server: Ethernet card 100Mbps, directly connected to router Configured with SFTP server Windows XP Professional SP3: ...
6
votes
4answers
3k views

Secure remote editing of root-accessible files over SSH

As per security best practices one should not allow root login over SSH with password or keys. Instead, sudo should be used. However, if one wants to use SSH (SFTP) for remote editing of server ...
5
votes
5answers
812 views

Best way to transfer files across unstable LAN?

This is very similar to Question 326211, but in this case, the LAN is an unstable Wi-Fi connection. I need to transfer about 11 GiB of files between two computers, both running Linux (although one ...
5
votes
5answers
3k views

Must I sftp to an intermediate server?

I can't sftp directly into a particular host. To move a file from my home machine to the host, I must sftp a file to an intermediate host; ssh into the intermediate host; and sftp the file to the ...
5
votes
7answers
18k views

Mapping an sFTP connection to a Windows drive?

I'm looking for a way to map an sFTP connection to a Windows (Vista) drive. In other words, a tool that would add a new drive (let's say N:) to my computer, that would directly point to my remote ...
5
votes
2answers
3k views

FileZilla on Mac OS X can't open .ssh directory to get my keyfile

I'm trying to log on to my Amazon EC2 cloud server instance with FileZilla, To do this I need to specify a keyfile for SFTP over SSH, However, FileZilla in OS X can't open files in hidden ...
5
votes
4answers
569 views

Color empty files in Windows

I face a need to show empty (0 bytes size) files in color in Windows Explorer. (I get them over sftp and need to know whether they're empty to prevent data loss - an application creates empty files ...
5
votes
4answers
14k views

How can I get an SFTP server running on Windows 2008?

I have a remote Windows 2008 machine and the task at hand is to share out parts of its filesystem via SFTP for a single user. Were commercial software an option things would be easy but I want ...
5
votes
2answers
3k views

NetBeans IDE 6.9[.1] - Upload files on save - re-enable for session

Periodically, when I am saving files, I get the error dialog Upload files On Save failed. Disable this functionality for this session?. Sometimes I accidentally select 'Yes'. How can I re-enable that ...
5
votes
3answers
8k views

How do I use my keyfile to sftp transfer data from one server to another

I cant scp, the other server only takes sftp connections. Currently, I am trying to do sftp jay@server.name.com:/files> put -r ~/ -i keyname does not work, just resolves with illegal option -- ...
5
votes
5answers
11k views

Accessing Amazon EC2 in Filezilla SFTP

I need help/guide how I can open my ssh access from a GUI or Filezilla. Here's the scenario my developer just left me with the login info to my Amazon EC2. Now I am finding difficulties in ...
5
votes
3answers
7k views

How can I see if users are logged in over sftp?

I run a linux file server for my office and we user SFTP for remote partners to login and download files. Is there a way to see if there are any active connections or logins so I can know when it is ...
5
votes
1answer
2k views

Is there any built-in SFTP with GUI on OSX?

On my Ubuntu system, I can easily connect to a remote server via SFTP and simply drag/drop files across systems. This is built into the standard file manager. I just recently got a MBP with OSX and ...
4
votes
5answers
935 views

Why every OS still can't resume file transferring? [closed]

I mean, Windows 7, Ubuntu 9.10 and Snow Leopard... All newest and top of line desktop operating system still use regular copy to transfer files, as it seems to me from experience. Instead of using ...
4
votes
5answers
2k views

Which is better? SFTP or FTPS

I've heard it from some sources that SFTP is preferable to FTPS. If this is the case, I'm wondering why exactly.
4
votes
1answer
5k views

sftp client with cygwin, is it possible?

Is there any sftp clieant for cygwin? From what I read on the web, all I can find is instruction on how to install the server/ how to use putty/ how to use filezilla. Is there a terminal client for ...
4
votes
2answers
1k views

sshfs is failing with “remote host has disconnected”

I'm running sshfs with the following: sshfs basicuser@192.168.1.111:/var/www/myapp /home/basicuser/code -o sftp_server="/usr/bin/sudo /usr/libexec/openssh/sftp-server" I have also created RSA keys ...
4
votes
4answers
6k views

file permissions and group ownership using sftp

Is there a way to have all files created by a particular user under sftp to have a specific group and file permissions? The user in question, of course, will be a member of the group, but it is not ...
4
votes
1answer
2k views

FTP move files/folder on remote server in FileZilla

I have a folder on my server that I want to move to a different location on that same server. I see that I can move a file/folder into a sibling folder, or up one folder, by dragging it over the ...
4
votes
1answer
3k views

SFTP, SCP, Secure Webdav: which is the most suitable?

currently, I am hosting a webdav share setup in order to store files I need anywhere I am. It is available via HTTPS. Things are that I do not need all the HTTP machinery -i.e. my nginx http server ...
3
votes
3answers
955 views

Need a non-GUI SFTP tool better than “sftp”

'sftp' is seriously lacking relative to, say, ncftp: it has no command memory, no Tab-completion of file names, and so on. Is there a non-GUI tool for SFTP that people recommend?
3
votes
3answers
199 views

If I have an “ssh” account does that mean I can transfer files via “sftp”?

If I have an "ssh" account does that mean I can transfer files via "sftp"?
3
votes
2answers
7k views

Run a program in a batch script and wait for it to finish before continuing

I have a very specific requirement. I am attempting to upload files via sftp which uses private keys. I already have a bat file that connects to the host and uploads the file however I need to move ...
3
votes
1answer
11k views

where does the “get” command in PSFTP (PuTTY) save the file?

I'm used to running ssh on a Unix command-line and am working for the first time with PuTTY on Windows. When I type get file.txt on the PSFTP command line, where does file.txt go? PSFTP ...
3
votes
3answers
2k views

Coda 2 and SCP uploading files with the wrong permission

Currently I have a basic Ubuntu server running a website. The website is for a few students learning HTML/PHP and each student has their own account with a symbolic link to the shared website folder. ...
3
votes
3answers
3k views

Command line history & tab-completion for sftp in OS X Terminal.app

I use Terminal.app constantly. When connecting via ssh to remote *nix systems, I can continue to use tab to complete command names and arrow-up/down to navigate the command history. However, with sftp ...
3
votes
1answer
3k views

Connecting FileZilla to SFTP, OpenSSH

I've a Ubuntu machine where is installed OpenSSH. I want upload/download files there thru SFTP with FileZilla. SSH works good with putty etc, but when I try to connect with FileZilla, I get Status: ...
3
votes
3answers
88 views

Is SFTP without keys still better than FTP?

I have a question regarding SFTP and security. Is using SFTP without keys, still more secure (eg. encrypted) than plain FTP?
3
votes
1answer
4k views

chrooted sftp user with write permissions to /var/www

I am getting confused about this setup that I am trying to deploy. I hope someone of you folks can lend me a hand: much much appreciated. Background info Server is Debian 6.0, ext3, with ...
3
votes
1answer
762 views

Settings permissions on /var/www

I'm running ubuntu server and have apache installed as a web server. I'm letting my web developers upload files through sftp (ssh) to /var/www. I'm using www-data group to control access to /var/www ...
3
votes
1answer
43 views

SFTP transfer a file from server to desktop

I am trying to compete an assignment for school and I have one final step. I have use the "put" command to load the file. Then ran a spool and the file followed by ending the spool. Now I am back at ...
3
votes
1answer
10k views

Using SSH Keys in Transmit to connect via SFTP

I'm using Transmit to connect via SFTP to a server. I know that the public key is properly uploaded etc. because I can connect via SSH on the command line. For some reason I can't connect with SFTP ...
3
votes
3answers
2k views

Automatically saving files on edit with kate or any text editor

When I try to edit a file in a remote directory (through SSH, SFTP or FTP) I must close the file to get a dialog box tell me if I want to upload the file. I want to upload it automatically on save! ...
3
votes
2answers
761 views

sftp disabled, but have ssh access. How to mount?

some lab computers at my university have sftp disabled. However, I have normal ssh access. Obviously I don't have root permissions on these computers. I need to transfer a fair amount of VHDL ...
3
votes
2answers
4k views

Any way to use sftp as superuser?

I'm using Transmit.app (in Mac) to sftp to my Ubuntu server. Is there any way to gain superuser permission so that I can remotely write any file?
3
votes
2answers
11k views

sftp and public keys

I am trying to sftp into an a server hosted by someone else. To make sure this worked I did the standard sftp user@sftp.xxxxxx.com i was promted with the password and that worked fine. I am setting ...
3
votes
1answer
270 views

After 3 files transferred through SFTP (FileZilla), the queue halts. What could be causing it?

And when it's happening, all I need to do is restart the queue. What could be causing it? I'm running on 64-bit Fedora 12, using a Buffalo WHR-G125 Wireless Router.