[Typo3-dev] create folders on filesystem recursively

Michael Stucki michael at typo3.org
Fri Jul 1 08:38:10 CEST 2005


Hi franz,

> i searched for a function in TYPO3 to export special data from the
> pagetree into a folder structure according to the pagetree.
> I found only the t3lib_div::mkdir($strPath), which allows to create one
> new folder in the current folder.
> 
> If you need similar functionality with missing levels on your filesystem
> (e.g. exporting) you could use a function like this:

> does it make sense to add this functionality on to t3lib_div or some other
> class?

I think we should just change the fileadmin module in a way that values with
slashes are processed as multiple directories, so that "test/bla/blub"
would automatically create the directories test, test/bla and
test/bla/blub.

If this is what you want, please file a bug for this.

- michael
-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/




More information about the TYPO3-dev mailing list