diff options
author | James Housley <jim@thehousleys.net> | 2007-06-13 15:02:34 +0000 |
---|---|---|
committer | James Housley <jim@thehousleys.net> | 2007-06-13 15:02:34 +0000 |
commit | 17798ed740db1874e94faa1a9c7d80dfa4e1b68c (patch) | |
tree | 87baa9c20009000732aa12d12f4cd6e45fb7888a /docs/curl.1 | |
parent | 05ba9f9fcdafb1cc6bf30f97b3ca41a127cef4b4 (diff) |
Update documentation to reflect SFTP's ability to create directories on
upload. Some text provieded by Tom Regner
Diffstat (limited to 'docs/curl.1')
-rw-r--r-- | docs/curl.1 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/curl.1 b/docs/curl.1 index fbe8155d1..629f99dc7 100644 --- a/docs/curl.1 +++ b/docs/curl.1 @@ -216,7 +216,8 @@ local directory hierarchy as needed. This option creates the dirs mentioned with the -o option, nothing else. If the -o file name uses no dir or if the dirs it mentions already exist, no dir will be created. -To create remote directories when using FTP, try \fI--ftp-create-dirs\fP. +To create remote directories when using FTP or SFTP, try +\fI--ftp-create-dirs\fP. .IP "--crlf" (FTP) Convert LF to CRLF in upload. Useful for MVS (OS/390). @@ -382,7 +383,7 @@ has been provided, this data is sent off using the ACCT command. (Added in If this option is used twice, the second will override the previous use. .IP "--ftp-create-dirs" -(FTP) When an FTP URL/operation uses a path that doesn't currently exist on +(FTP) When an FTP or SFTP URL/operation uses a path that doesn't currently exist on the server, the standard behavior of curl is to fail. Using this option, curl will instead attempt to create missing directories. |