diff options
author | Daniel Stenberg <daniel@haxx.se> | 2016-11-15 23:44:58 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-16 10:42:51 +0100 |
commit | 41b1f649bf63e3663fcf3d4a678fef37688e32b7 (patch) | |
tree | 4fe54a49307d30025a67a5c83807d857f4bcbeba /docs/cmdline-opts/ftp-method.d | |
parent | 81e61cda396da7eefb15dcf20b9e8be7ada37283 (diff) |
cmdline-docs: more options converted over
Diffstat (limited to 'docs/cmdline-opts/ftp-method.d')
-rw-r--r-- | docs/cmdline-opts/ftp-method.d | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/cmdline-opts/ftp-method.d b/docs/cmdline-opts/ftp-method.d new file mode 100644 index 000000000..95aa522e8 --- /dev/null +++ b/docs/cmdline-opts/ftp-method.d @@ -0,0 +1,21 @@ +Long: ftp-method +Arg: <method> +Help: Control CWD usage +Protocols: FTP +Added: 7.15.1 +--- +Control what method curl should use to reach a file on an FTP(S) +server. The method argument should be one of the following alternatives: +.RS +.IP multicwd +curl does a single CWD operation for each path part in the given URL. For deep +hierarchies this means very many commands. This is how RFC 1738 says it should +be done. This is the default but the slowest behavior. +.IP nocwd +curl does no CWD at all. curl will do SIZE, RETR, STOR etc and give a full +path to the server for all these commands. This is the fastest behavior. +.IP singlecwd +curl does one CWD with the full target directory and then operates on the file +\&"normally" (like in the multicwd case). This is somewhat more standards +compliant than 'nocwd' but without the full penalty of 'multicwd'. +.RE |