hostname] sftp [
Secure FTP. Transfers files to and from remote network site
hostname using ssh as the transport. Once an sftp connection is made, sftp becomes interactive, prompting the user for a command. Type help to see a list of known commands.
pathname is a directory, it becomes the initial remote working directory once the connection is made. If
pathname is a file, sftp transfers that file into the local working directory, closes the connection, and exits without entering interactive mode.
Run in batch mode, reading commands from
filename instead of standard input.
Use a buffer size of
buffersize bytes when transferring files instead of the default 32768 bytes.
Turn on compression.
Use specified ssh configuration file.
Set configuration keyword.
Connect to the local sftp-server program at
sftp-server_path, instead of using ssh(for debugging purposes). The default location for the program on Mac OS X is /usr/libexec/sftp-server.
Allow up to
n outstanding requests, instead of the default, 16.
Invoke remote subsystem.
Use local ssh executable located at pathname.
Attempt a Version 1 connection.