You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Overview

SFTP is a secure file transfer protocol sending data over encripted SSH transport. One should notice that it's a single-stream protocol. It can also be significantly slower than others due to its internal data encription. The protocol doesn't seem to be optimized for transferring data over WAN. Our preliminary tests (in a specific setup between SLAC and IN2P3/France) indicate that the maximum transfer rate would be less than 0.5 MBytes/sec. This is nearly 3 times less than it can be achieved with specialized tools like BBCP or FDT.

Note, that there is a similar (though, simpler) protocol called SCP. IN terms of its performance it has no difference from SFTP as they're both based on SSH.

Usage examples

Here is an example of an interactive session (a password for user 'user' at SLAC is being requested):

% sftp user@slac.stanford.edu:/usr/work/user/MyDataFile.dat ./
Connecting to yakut10.slac.stanford.edu...
user@yakut10.slac.stanford.edu's password:
Fetching /usr/work/user/MyDataFile.dat to ./MyDataFile.dat
...

The command can also be used in the batch mode. See UNIX man pages for further detail.

  • No labels