diff options
author | des <des@FreeBSD.org> | 2014-01-31 13:12:02 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2014-01-31 13:12:02 +0000 |
commit | 7573e91b127f1c198210fd345d3ca198b598cfc6 (patch) | |
tree | d32fb61cec38c52314210c3459fd436685dacdba /crypto/openssh/sftp.0 | |
parent | c692973c992c321bb10e631f572fab1500ae5b0e (diff) | |
parent | 45d0197dd79eceffb5bbc29f75199eb09af5a5f9 (diff) | |
download | FreeBSD-src-7573e91b127f1c198210fd345d3ca198b598cfc6.zip FreeBSD-src-7573e91b127f1c198210fd345d3ca198b598cfc6.tar.gz |
Upgrade to OpenSSH 6.5p1.
Diffstat (limited to 'crypto/openssh/sftp.0')
-rw-r--r-- | crypto/openssh/sftp.0 | 34 |
1 files changed, 28 insertions, 6 deletions
diff --git a/crypto/openssh/sftp.0 b/crypto/openssh/sftp.0 index 8bfc808..2487370 100644 --- a/crypto/openssh/sftp.0 +++ b/crypto/openssh/sftp.0 @@ -4,7 +4,7 @@ NAME sftp - secure file transfer program SYNOPSIS - sftp [-1246Cpqrv] [-B buffer_size] [-b batchfile] [-c cipher] + sftp [-1246aCfpqrv] [-B buffer_size] [-b batchfile] [-c cipher] [-D sftp_server_path] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-R num_requests] [-S program] [-s subsystem | sftp_server] host @@ -44,6 +44,11 @@ DESCRIPTION -6 Forces sftp to use IPv6 addresses only. + -a Attempt to continue interrupted downloads rather than overwriting + existing partial or complete copies of files. If the remote file + contents differ from the partial local copy then the resultant + file is likely to be corrupt. + -B buffer_size Specify the size of the buffer that sftp uses when transferring files. Larger buffers require fewer round trips at the cost of @@ -74,6 +79,10 @@ DESCRIPTION Specifies an alternative per-user configuration file for ssh(1). This option is directly passed to ssh(1). + -f Requests that files be flushed to disk immediately after + transfer. When uploading files, this feature is only enabled if + the server implements the "fsync@openssh.com" extension. + -i identity_file Selects the file from which the identity (private key) for public key authentication is read. This option is directly passed to @@ -93,6 +102,11 @@ DESCRIPTION AddressFamily BatchMode BindAddress + CanonicalDomains + CanonicalizeFallbackLocal + CanonicalizeHostname + CanonicalizeMaxDots + CanonicalizePermittedCNAMEs ChallengeResponseAuthentication CheckHostIP Cipher @@ -209,7 +223,7 @@ INTERACTIVE COMMANDS exit Quit sftp. - get [-aPpr] remote-path [local-path] + get [-afPpr] remote-path [local-path] Retrieve the remote-path and store it on the local machine. If the local path name is not specified, it is given the same name it has on the remote machine. remote-path may contain glob(3) @@ -220,8 +234,11 @@ INTERACTIVE COMMANDS If the -a flag is specified, then attempt to resume partial transfers of existing files. Note that resumption assumes that any partial copy of the local file matches the remote copy. If - the remote file differs from the partial local copy then the - resultant file is likely to be corrupt. + the remote file contents differ from the partial local copy then + the resultant file is likely to be corrupt. + + If the -f flag is specified, then fsync(2) will be called after + the file transfer has completed to flush the file to disk. If either the -P or -p flag is specified, then full file permissions and access times are copied too. @@ -293,7 +310,7 @@ INTERACTIVE COMMANDS progress Toggle display of progress meter. - put [-Ppr] local-path [remote-path] + put [-fPpr] local-path [remote-path] Upload local-path and store it on the remote machine. If the remote path name is not specified, it is given the same name it has on the local machine. local-path may contain glob(3) @@ -301,6 +318,11 @@ INTERACTIVE COMMANDS remote-path is specified, then remote-path must specify a directory. + If the -f flag is specified, then a request will be sent to the + server to call fsync(2) after the file has been transferred. + Note that this is only supported by servers that implement the + "fsync@openssh.com" extension. + If either the -P or -p flag is specified, then full file permissions and access times are copied too. @@ -345,4 +367,4 @@ SEE ALSO T. Ylonen and S. Lehtinen, SSH File Transfer Protocol, draft-ietf-secsh- filexfer-00.txt, January 2001, work in progress material. -OpenBSD 5.4 July 25, 2013 OpenBSD 5.4 +OpenBSD 5.4 October 20, 2013 OpenBSD 5.4 |