Sign in to follow this  
Followers 0
lowray1975

Recursive FTP Directory Create

1 post in this topic

Hello Everyone,

I've spent about an hour searching the forums and can't find any examples. I apologize in advance if I completely overlooked one...

Does anyone have a working function that recursively creates a FTP directory tree? I tested _FTP_DirCreate, _FTP_FilePut and _FTP_ProgressUpload to see if they could create the directory "tree" although they do not. I also found the _FTP_DirPutContents function however I need to create directories that do not exist on the local workstation.

Any assistance is very much appreciated!

- Josh

More Detail:

I would like to have the function _FTP_DirCreate($objFTPConn, "/subdirectory1/sub2/sub3/sub4") create the entire path if sub2 and sub3 didn't already exist.

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0