summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/sftp.0
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2016-01-19 16:18:26 +0000
committerdes <des@FreeBSD.org>2016-01-19 16:18:26 +0000
commit14172c52f89fa504003826ed2e4e2c0ac246505d (patch)
treebc48bd740145eea64393ed391fc1d972c83f991c /crypto/openssh/sftp.0
parent456370e53073cd38d0ddc4001283f1c131d1428e (diff)
parent64c731d52472fb486558425128009691392e0bef (diff)
downloadFreeBSD-src-14172c52f89fa504003826ed2e4e2c0ac246505d.zip
FreeBSD-src-14172c52f89fa504003826ed2e4e2c0ac246505d.tar.gz
Upgrade to OpenSSH 6.7p1, retaining libwrap support (which has been removed
upstream) and a number of security fixes which we had already backported. MFC after: 1 week
Diffstat (limited to 'crypto/openssh/sftp.0')
-rw-r--r--crypto/openssh/sftp.031
1 files changed, 21 insertions, 10 deletions
diff --git a/crypto/openssh/sftp.0 b/crypto/openssh/sftp.0
index 7139aac..e370434 100644
--- a/crypto/openssh/sftp.0
+++ b/crypto/openssh/sftp.0
@@ -1,4 +1,4 @@
-SFTP(1) OpenBSD Reference Manual SFTP(1)
+SFTP(1) General Commands Manual SFTP(1)
NAME
sftp - secure file transfer program
@@ -44,9 +44,9 @@ 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
+ -a Attempt to continue interrupted transfers rather than overwriting
+ existing partial or complete copies of files. If the partial
+ contents differ from those being transferred, then the resultant
file is likely to be corrupt.
-B buffer_size
@@ -60,10 +60,11 @@ DESCRIPTION
used in conjunction with non-interactive authentication. A
batchfile of `-' may be used to indicate standard input. sftp
will abort if any of the following commands fail: get, put,
- reget, rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown,
- chgrp, lpwd, df, symlink, and lmkdir. Termination on error can
- be suppressed on a command by command basis by prefixing the
- command with a `-' character (for example, -rm /tmp/blah*).
+ reget, reput, rename, ln, rm, mkdir, chdir, ls, lchdir, chmod,
+ chown, chgrp, lpwd, df, symlink, and lmkdir. Termination on
+ error can be suppressed on a command by command basis by
+ prefixing the command with a `-' character (for example, -rm
+ /tmp/blah*).
-C Enables compression (via ssh's -C flag).
@@ -310,7 +311,7 @@ INTERACTIVE COMMANDS
progress
Toggle display of progress meter.
- put [-fPpr] local-path [remote-path]
+ put [-afPpr] 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)
@@ -318,6 +319,12 @@ INTERACTIVE COMMANDS
remote-path is specified, then remote-path must specify a
directory.
+ 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 remote file matches the local copy. If
+ the local file contents differ from the remote local copy then
+ the resultant file is likely to be corrupt.
+
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
@@ -338,6 +345,10 @@ INTERACTIVE COMMANDS
Resume download of remote-path. Equivalent to get with the -a
flag set.
+ reput [-Ppr] [local-path] remote-path
+ Resume upload of [local-path]. Equivalent to put with the -a
+ flag set.
+
rename oldpath newpath
Rename remote file from oldpath to newpath.
@@ -367,4 +378,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.5 October 20, 2013 OpenBSD 5.5
+OpenBSD 5.6 April 22, 2014 OpenBSD 5.6
OpenPOWER on IntegriCloud