aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-08-08 09:13:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-08-08 09:13:19 +0000
commitf9f1f0e31635a551f51d2b9e4a7afde4ad4027ca (patch)
treeeb7c52202fe74d2c784b84394b7e788df6fefc76 /lib/url.c
parenta9afe6aa84dd1f9b4bdf249dc8e56dbce89ed059 (diff)
Early Ehlinger's CURLOPT_FTP_CREATE_MISSING_DIRS patch was applied
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 84f3bbb0f..4bd02705a 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -489,6 +489,13 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...)
*/
data->set.get_filetime = va_arg(param, long)?TRUE:FALSE;
break;
+ case CURLOPT_FTP_CREATE_MISSING_DIRS:
+ /*
+ * An FTP option that modifies an upload to create missing directories on
+ * the server.
+ */
+ data->set.ftp_create_missing_dirs = va_arg( param , long )?TRUE:FALSE;
+ break;
case CURLOPT_FTPLISTONLY:
/*
* An FTP option that changes the command to one that asks for a list