diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | sftp.1 | 15 |
2 files changed, 14 insertions, 5 deletions
@@ -5,6 +5,10 @@ | |||
5 | fix some whitespace at EOL | 5 | fix some whitespace at EOL |
6 | make list of commands an enum rather than a long list of defines | 6 | make list of commands an enum rather than a long list of defines |
7 | add -a to usage() | 7 | add -a to usage() |
8 | - djm@cvs.openbsd.org 2013/08/06 23:05:01 | ||
9 | [sftp.1] | ||
10 | document top-level -a option (the -a option to 'get' was already | ||
11 | documented) | ||
8 | 12 | ||
9 | 20130808 | 13 | 20130808 |
10 | - (dtucker) [regress/Makefile regress/test-exec.sh] Don't try to use test -nt | 14 | - (dtucker) [regress/Makefile regress/test-exec.sh] Don't try to use test -nt |
@@ -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. | |||
114 | Larger buffers require fewer round trips at the cost of higher | 114 | Larger buffers require fewer round trips at the cost of higher |
115 | memory consumption. | 115 | memory consumption. |
116 | The default is 32768 bytes. | 116 | The default is 32768 bytes. |
117 | .It Fl a | ||
118 | Attempt to continue interrupted downloads rather than overwriting existing | ||
119 | partial or complete copies of files. | ||
120 | If the remote file contents differ from the partial local copy then the | ||
121 | resultant file is likely to be corrupt. | ||
117 | .It Fl b Ar batchfile | 122 | .It Fl b Ar batchfile |
118 | Batch mode reads a series of commands from an input | 123 | Batch mode reads a series of commands from an input |
119 | .Ar batchfile | 124 | .Ar batchfile |
@@ -368,8 +373,8 @@ If the | |||
368 | flag is specified, then attempt to resume partial transfers of existing files. | 373 | flag is specified, then attempt to resume partial transfers of existing files. |
369 | Note that resumption assumes that any partial copy of the local file matches | 374 | Note that resumption assumes that any partial copy of the local file matches |
370 | the remote copy. | 375 | the remote copy. |
371 | If the remote file differs from the partial local copy then the resultant file | 376 | If the remote file contents differ from the partial local copy then the |
372 | is likely to be corrupt. | 377 | resultant file is likely to be corrupt. |
373 | .Pp | 378 | .Pp |
374 | If either the | 379 | If either the |
375 | .Fl P | 380 | .Fl P |