summaryrefslogtreecommitdiff
path: root/sftp.0
diff options
context:
space:
mode:
Diffstat (limited to 'sftp.0')
-rw-r--r--sftp.022
1 files changed, 16 insertions, 6 deletions
diff --git a/sftp.0 b/sftp.0
index dd1da5241..c5fa17892 100644
--- a/sftp.0
+++ b/sftp.0
@@ -55,10 +55,10 @@ DESCRIPTION
55 used in conjunction with non-interactive authentication. A 55 used in conjunction with non-interactive authentication. A
56 batchfile of `-' may be used to indicate standard input. sftp 56 batchfile of `-' may be used to indicate standard input. sftp
57 will abort if any of the following commands fail: get, put, 57 will abort if any of the following commands fail: get, put,
58 rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown, chgrp, 58 reget, rename, ln, rm, mkdir, chdir, ls, lchdir, chmod, chown,
59 lpwd, df, symlink, and lmkdir. Termination on error can be 59 chgrp, lpwd, df, symlink, and lmkdir. Termination on error can
60 suppressed on a command by command basis by prefixing the command 60 be suppressed on a command by command basis by prefixing the
61 with a `-' character (for example, -rm /tmp/blah*). 61 command with a `-' character (for example, -rm /tmp/blah*).
62 62
63 -C Enables compression (via ssh's -C flag). 63 -C Enables compression (via ssh's -C flag).
64 64
@@ -209,7 +209,7 @@ INTERACTIVE COMMANDS
209 209
210 exit Quit sftp. 210 exit Quit sftp.
211 211
212 get [-Ppr] remote-path [local-path] 212 get [-aPpr] remote-path [local-path]
213 Retrieve the remote-path and store it on the local machine. If 213 Retrieve the remote-path and store it on the local machine. If
214 the local path name is not specified, it is given the same name 214 the local path name is not specified, it is given the same name
215 it has on the remote machine. remote-path may contain glob(3) 215 it has on the remote machine. remote-path may contain glob(3)
@@ -217,6 +217,12 @@ INTERACTIVE COMMANDS
217 local-path is specified, then local-path must specify a 217 local-path is specified, then local-path must specify a
218 directory. 218 directory.
219 219
220 If the -a flag is specified, then attempt to resume partial
221 transfers of existing files. Note that resumption assumes that
222 any partial copy of the local file matches the remote copy. If
223 the remote file differs from the partial local copy then the
224 resultant file is likely to be corrupt.
225
220 If either the -P or -p flag is specified, then full file 226 If either the -P or -p flag is specified, then full file
221 permissions and access times are copied too. 227 permissions and access times are copied too.
222 228
@@ -306,6 +312,10 @@ INTERACTIVE COMMANDS
306 312
307 quit Quit sftp. 313 quit Quit sftp.
308 314
315 reget [-Ppr] remote-path [local-path]
316 Resume download of remote-path. Equivalent to get with the -a
317 flag set.
318
309 rename oldpath newpath 319 rename oldpath newpath
310 Rename remote file from oldpath to newpath. 320 Rename remote file from oldpath to newpath.
311 321
@@ -336,4 +346,4 @@ SEE ALSO
336 draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress 346 draft-ietf-secsh-filexfer-00.txt, January 2001, work in progress
337 material. 347 material.
338 348
339OpenBSD 5.3 September 5, 2011 OpenBSD 5.3 349OpenBSD 5.4 July 25, 2013 OpenBSD 5.4