The OpenD Programming Language

CurlFtp

parameter for the CURLOPT_FTP_CREATE_MISSING_DIRS option

Values

ValueMeaning
create_dir_none

do NOT create missing dirs!

create_dir

(FTP/SFTP) if CWD fails, try MKD and then CWD again if MKD succeeded, for SFTP this does similar magic

create_dir_retry

(FTP only) if CWD fails, try MKD and then CWD again even if MKD failed!

create_dir_last

not an option, never use

Meta