From 17798ed740db1874e94faa1a9c7d80dfa4e1b68c Mon Sep 17 00:00:00 2001 From: James Housley Date: Wed, 13 Jun 2007 15:02:34 +0000 Subject: Update documentation to reflect SFTP's ability to create directories on upload. Some text provieded by Tom Regner --- docs/libcurl/curl_easy_setopt.3 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/libcurl') diff --git a/docs/libcurl/curl_easy_setopt.3 b/docs/libcurl/curl_easy_setopt.3 index a31499958..72b4cdbdd 100644 --- a/docs/libcurl/curl_easy_setopt.3 +++ b/docs/libcurl/curl_easy_setopt.3 @@ -890,6 +890,11 @@ If the server is an IPv6 host, this option will have no effect as of 7.12.3. Pass a long. If the value is non-zero, curl will attempt to create any remote directory that it fails to CWD into. CWD is the command that changes working directory. (Added in 7.10.7) + +This setting also applies to SFTP-connections. curl will attempt to create +the remote directory if it can't obtain a handle to the target-location. The +creation will fail if a file of the same name as the directory to create +already exists or lack of permissions prevents creation. (Added in 7.16.3) .IP CURLOPT_FTP_RESPONSE_TIMEOUT Pass a long. Causes curl to set a timeout period (in seconds) on the amount of time that the server is allowed to take in order to generate a response -- cgit v1.2.3