Early Ehlinger's CURLOPT_FTP_CREATE_MISSING_DIRS patch was applied

This commit is contained in:
Daniel Stenberg
2003-08-08 09:13:19 +00:00
parent a9afe6aa84
commit f9f1f0e316
6 changed files with 180 additions and 34 deletions

View File

@@ -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