summaryrefslogtreecommitdiff
path: root/sftp.1
diff options
context:
space:
mode:
authordjm <djm>2002-02-08 11:04:05 +0000
committerdjm <djm>2002-02-08 11:04:05 +0000
commit41c23b95b8f57a87a6455ce2b2593c40472efec5 (patch)
tree477d56edf7e3a8705fbe612edbd6e01838188f7a /sftp.1
parent1c37b8c9a137e0c64a714f765297190d0b82af1c (diff)
downloadopenssh-41c23b95b8f57a87a6455ce2b2593c40472efec5.tar.gz
- djm@cvs.openbsd.org 2002/02/05 00:00:46
[sftp.1 sftp.c sftp-client.c sftp-client.h sftp-int.c] Add "-B" option to specify copy buffer length (default 32k); ok markus@
Diffstat (limited to 'sftp.1')
-rw-r--r--sftp.18
1 files changed, 7 insertions, 1 deletions
diff --git a/sftp.1 b/sftp.1
index 2a256032..49d4af57 100644
--- a/sftp.1
+++ b/sftp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sftp.1,v 1.27 2002/02/04 21:53:11 djm Exp $
+.\" $OpenBSD: sftp.1,v 1.28 2002/02/05 00:00:46 djm Exp $
.\"
.\" Copyright (c) 2001 Damien Miller. All rights reserved.
.\"
@@ -31,6 +31,7 @@
.Sh SYNOPSIS
.Nm sftp
.Op Fl 1Cv
+.Op Fl B Ar buffer_size
.Op Fl b Ar batchfile
.Op Fl F Ar ssh_config
.Op Fl o Ar ssh_option
@@ -66,6 +67,11 @@ The options are as follows:
.Bl -tag -width Ds
.It Fl 1
Specify the use of protocol version 1.
+.It Fl B Ar buffer_size
+Specify the size of the buffer that
+.Nm
+uses when transferring files. Larger buffers require fewer round trips at
+the cost of higher memory consumption. The default is 32768 bytes.
.It Fl P Ar sftp_server path
Connect directly to a local
.Nm sftp-server