Jump to content

Recursive FTP Directory Create


Recommended Posts

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.

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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...