Results 1 to 2 of 2

Thread: Create non existing directory's

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Apr 2008
    Posts
    128

    Create non existing directory's

    Ok, so I am trying to write a auto updater for my software.

    I wrote a php script that gets all the files in the update directory and lists them.

    so I would have :

    Code:
    ./update/template/file1.template
    ./update/template/images/image.png
    ./update/dll/file.dll
    ./update/dll/extention/raw.dll
    I would like the software to automatically create the folder tree for the files to be stored.
    I already have a script to download it.

    So the folder
    /template should be created
    and under /template add /images

    Etc etc..

    I wouldn't have a single clue how loop through this in the most efficient way

    to just having the folders created from a list like this..
    Thanks in advance.

    I know it should be something with MKDIR..
    Last edited by menzow; Feb 25th, 2011 at 04:51 PM.
    I <3 vbforums

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width