summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-08-21 02:39:39 +1000
committerDamien Miller <djm@mindrot.org>2013-08-21 02:39:39 +1000
commiteec840673bce3f69ad269672fba7ed8ff05f154f (patch)
tree71648824be297c463215d43219a3bfc49e049888 /sftp.1
parent02e878070d0eddad4e11f2c82644b275418eb112 (diff)
- djm@cvs.openbsd.org 2013/08/06 23:05:01
[sftp.1] document top-level -a option (the -a option to 'get' was already documented)
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.115
1 files changed, 10 insertions, 5 deletions
diff --git a/sftp.1 b/sftp.1
index 2577fe875..e75a81a70 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: sftp.1,v 1.92 2013/07/25 00:56:51 djm Exp $ 1.\" $OpenBSD: sftp.1,v 1.93 2013/08/06 23:05:01 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: July 25 2013 $ 25.Dd $Mdocdate: August 6 2013 $
26.Dt SFTP 1 26.Dt SFTP 1
27.Os 27.Os
28.Sh NAME 28.Sh NAME
@@ -31,7 +31,7 @@
31.Sh SYNOPSIS 31.Sh SYNOPSIS
32.Nm sftp 32.Nm sftp
33.Bk -words 33.Bk -words
34.Op Fl 1246Cpqrv 34.Op Fl 1246Capqrv
35.Op Fl B Ar buffer_size 35.Op Fl B Ar buffer_size
36.Op Fl b Ar batchfile 36.Op Fl b Ar batchfile
37.Op Fl c Ar cipher 37.Op Fl c Ar cipher
@@ -114,6 +114,11 @@ uses when transferring files.
114Larger buffers require fewer round trips at the cost of higher 114Larger buffers require fewer round trips at the cost of higher
115memory consumption. 115memory consumption.
116The default is 32768 bytes. 116The default is 32768 bytes.
117.It Fl a
118Attempt to continue interrupted downloads rather than overwriting existing
119partial or complete copies of files.
120If the remote file contents differ from the partial local copy then the
121resultant file is likely to be corrupt.
117.It Fl b Ar batchfile 122.It Fl b Ar batchfile
118Batch mode reads a series of commands from an input 123Batch mode reads a series of commands from an input
119.Ar batchfile 124.Ar batchfile
@@ -368,8 +373,8 @@ If the
368flag is specified, then attempt to resume partial transfers of existing files. 373flag is specified, then attempt to resume partial transfers of existing files.
369Note that resumption assumes that any partial copy of the local file matches 374Note that resumption assumes that any partial copy of the local file matches
370the remote copy. 375the remote copy.
371If the remote file differs from the partial local copy then the resultant file 376If the remote file contents differ from the partial local copy then the
372is likely to be corrupt. 377resultant file is likely to be corrupt.
373.Pp 378.Pp
374If either the 379If either the
375.Fl P 380.Fl P