goFrendiAsgard / No-CMS

No-CMS, A CodeIgniter Based CMS Framework
299 stars 199 forks source link

create a directory tree recursively #115

Open ohnague opened 9 years ago

ohnague commented 9 years ago

how to implement module or driver to create a directory tree recursively as a ftp and integrate it into mysql http://autoindex.sourceforge.net

goFrendiAsgard commented 9 years ago

You can get the directories this way: http://stackoverflow.com/a/14305746/755319

What do you mean by integrate it to MySQL?

ohnague commented 9 years ago

That all the directories they emerge in the physical disk, keeping the routes go in mysql tables.

i.e.

mysql create a kind of kinship categories and subcategories

goFrendiAsgard commented 9 years ago

Sorry for late reply. How is your table structure? Typically you will need to have at least 2 tables. The first table is used to save directory's path, while the second table save the connection between directory.

ohnague commented 9 years ago

Hello good morning First of all tell you I do not speak English, a translator help me and maybe it's something incoherent as what I write

but well this is the idea

what I want is to give the user when an own directory where you can upload files were created, but also that same user is capac create directory from your working directory is where you upload your files

create a directory structure from your working directory.

maybe this could be thought of as a module

Excuse me again if ahgo not understand me

Note: this speaks if you could include the same structure that is made to do it in mysql directory as kinship categories