mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
Update docs now that SFTP supports file ranges.
This commit is contained in:
parent
1c5336cd57
commit
bfeae0b5f5
11
docs/curl.1
11
docs/curl.1
@ -982,9 +982,9 @@ See ln.
|
||||
random data. The data is used to seed the random engine for SSL connections.
|
||||
See also the \fI--egd-file\fP option.
|
||||
.IP "-r/--range <range>"
|
||||
(HTTP/FTP/FILE) Retrieve a byte range (i.e a partial document) from a
|
||||
HTTP/1.1 or FTP server or a local FILE. Ranges can be specified in a number of
|
||||
ways.
|
||||
(HTTP/FTP/SFTP/FILE) Retrieve a byte range (i.e a partial document) from a
|
||||
HTTP/1.1, FTP or SFTP server or a local FILE. Ranges can be specified
|
||||
in a number of ways.
|
||||
.RS
|
||||
.TP 10
|
||||
.B 0-499
|
||||
@ -1020,8 +1020,9 @@ You should also be aware that many HTTP/1.1 servers do not have this feature
|
||||
enabled, so that when you attempt to get a range, you'll instead get the whole
|
||||
document.
|
||||
|
||||
FTP range downloads only support the simple 'start-stop' syntax (optionally
|
||||
with one of the numbers omitted). It depends on the non-RFC command SIZE.
|
||||
FTP and SFTP range downloads only support the simple 'start-stop' syntax
|
||||
(optionally with one of the numbers omitted). FTP use depends on the extended
|
||||
FTP command SIZE.
|
||||
|
||||
If this option is used several times, the last one will be used.
|
||||
.IP "--raw"
|
||||
|
@ -794,7 +794,7 @@ static void help(void)
|
||||
" --pubkey <key> Public key file name (SSH)",
|
||||
" -Q/--quote <cmd> Send command(s) to server before file transfer (F/SFTP)",
|
||||
" --random-file <file> File for reading random data from (SSL)",
|
||||
" -r/--range <range> Retrieve a byte range from a HTTP/1.1 or FTP server",
|
||||
" -r/--range <range> Retrieve only the bytes within a range",
|
||||
" --raw Pass HTTP \"raw\", without any transfer decoding (H)",
|
||||
" -e/--referer Referer URL (H)",
|
||||
" -O/--remote-name Write output to a file named as the remote file",
|
||||
|
Loading…
Reference in New Issue
Block a user