CURLOPT_FTP_CREATE_MISSING_DIRS

software development

#1

I need to move files from one central domain to multiple other domains. I’ve got it all working except when the file is in a subdirectory. When I add the directory, the files move when they’re supposed to.

I checked all over online and there’s not much documentation about using CURLOPT_FTP_CREATE_MISSING_DIRS with libcurl. Like do I have to do the total path to get the directory created? (ie, /home/user/username/sitename/path/to/file/) Or can I make the path relative? I’ve tried it every way I can think of and it’s not working. Do I need to do a custom curl quote call? I saw something about “CWD”.

Grr…this thing went pretty smoothly up until this part. I really wanted to get this done yesterday. Any help would be greatly appreciated.

================================
Angela Gann
CrimsonDryad Web Design Services
Web Design, Custom Software Development
http://www.crimsondryad.com