summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2013-09-14 15:43:03 +0100
committerColin Watson <cjwatson@debian.org>2013-09-14 15:43:03 +0100
commit8faf8c84430cf3c19705b1d9f8889d256e7fd1fd (patch)
treee6cb74192adb00fda5e4d1457547851d7e0d86af /sftp.1
parent328b60656f29db6306994d7498dede386ec2d1c3 (diff)
parentc41345ad7ee5a22689e2c009595e85fa27b4b39a (diff)
merge 6.3p1
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.128
1 files changed, 24 insertions, 4 deletions
diff --git a/sftp.1 b/sftp.1
index bcb472144..2577fe875 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.91 2011/09/05 05:56:13 djm Exp $ 1.\" $OpenBSD: sftp.1,v 1.92 2013/07/25 00:56:51 djm Exp $
2.\" 2.\"
3.\" Copyright (c) 2001 Damien Miller. All rights reserved. 3.\" Copyright (c) 2001 Damien Miller. All rights reserved.
4.\" 4.\"
@@ -22,7 +22,7 @@
22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24.\" 24.\"
25.Dd $Mdocdate: September 5 2011 $ 25.Dd $Mdocdate: July 25 2013 $
26.Dt SFTP 1 26.Dt SFTP 1
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -129,7 +129,7 @@ may be used to indicate standard input.
129.Nm 129.Nm
130will abort if any of the following 130will abort if any of the following
131commands fail: 131commands fail:
132.Ic get , put , rename , ln , 132.Ic get , put , reget , rename , ln ,
133.Ic rm , mkdir , chdir , ls , 133.Ic rm , mkdir , chdir , ls ,
134.Ic lchdir , chmod , chown , 134.Ic lchdir , chmod , chown ,
135.Ic chgrp , lpwd , df , symlink , 135.Ic chgrp , lpwd , df , symlink ,
@@ -343,7 +343,7 @@ extension.
343Quit 343Quit
344.Nm sftp . 344.Nm sftp .
345.It Xo Ic get 345.It Xo Ic get
346.Op Fl Ppr 346.Op Fl aPpr
347.Ar remote-path 347.Ar remote-path
348.Op Ar local-path 348.Op Ar local-path
349.Xc 349.Xc
@@ -363,6 +363,14 @@ is specified, then
363.Ar local-path 363.Ar local-path
364must specify a directory. 364must specify a directory.
365.Pp 365.Pp
366If the
367.Fl a
368flag is specified, then attempt to resume partial transfers of existing files.
369Note that resumption assumes that any partial copy of the local file matches
370the remote copy.
371If the remote file differs from the partial local copy then the resultant file
372is likely to be corrupt.
373.Pp
366If either the 374If either the
367.Fl P 375.Fl P
368or 376or
@@ -503,6 +511,18 @@ Display remote working directory.
503.It Ic quit 511.It Ic quit
504Quit 512Quit
505.Nm sftp . 513.Nm sftp .
514.It Xo Ic reget
515.Op Fl Ppr
516.Ar remote-path
517.Op Ar local-path
518.Xc
519Resume download of
520.Ar remote-path .
521Equivalent to
522.Ic get
523with the
524.Fl a
525flag set.
506.It Ic rename Ar oldpath Ar newpath 526.It Ic rename Ar oldpath Ar newpath
507Rename remote file from 527Rename remote file from
508.Ar oldpath 528.Ar oldpath