summaryrefslogtreecommitdiff
path: root/sftp.0
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-10-07 12:13:50 +0100
committerColin Watson <cjwatson@debian.org>2014-10-07 12:13:50 +0100
commit487bdb3a5ef6075887b830ccb8a0b14f6da78e93 (patch)
treea2cff6fec1e6c4b4153a170a3e172cfe6bfdec46 /sftp.0
parent796ba4fd011b5d0d9d78d592ba2f30fc9d5ed2e7 (diff)
parent28453d58058a4d60c3ebe7d7f0c31a510cbf6158 (diff)
Import openssh_6.7p1.orig.tar.gz
Diffstat (limited to 'sftp.0')
-rw-r--r--sftp.031
1 files changed, 21 insertions, 10 deletions
diff --git a/sftp.0 b/sftp.0
index 7139aac43..e37043455 100644
--- a/sftp.0
+++ b/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