CURLOPT_FTP_CREATE_MISSING_DIRS (3) Linux Manual Page
CURLOPT_FTP_CREATE_MISSING_DIRS – create missing dirs for FTP and SFTP Synopsis#include <curl/curl.h> typedef enum { CURLFTP_CREATE_DIR_NONE, CURLFTP_CREATE_DIR, CURLFTP_CREATE_DIR_RETRY } curl_ftpcreatedir; CURLcode curl_easy_setopt(CURL *handle, CURLOPT_FTP_CREATE_MISSING_DIRS, long create);DescriptionPass a long telling libcurl to create the dir. If the value is CURLFTP_CREATE_DIR (1), libcurl will attempt to create any remote directory that it fails to "move" into. For FTP…
