Hi Jan.
First of all, you create GREAT extensions. You are a real professsional, and a saint for giving them away for free.
Second, I think Jangla wanted a slightly different solution.
I tried uploading files to phocadownload, and as you stated, the files do get added to the filename list, so I can add the files myself into the system.
BUT, Jangla said he had a ton of files, which suggest to me that he wants all the files added automatically to the system.
Phoca doesn´t seem to support this automatic adding to the system at the moment. Only the filename list get's populated, which, ofcourse is very handy, but has it's limitations, especially when handling a ton of files.
I would like to suggest a new feature.
Add a new directory in phocadownload called autodir, or similar.
Everything in this directory gets automatically added to the system, and either they all get added to a default Section and Catagory already preset in settings, or, they could have this little nifty solution:
Example:
Top directory structure is:
/phocadownload/autodir
The structure of the sub directory could be something like this:
Section/Category/filename.xox
So, if the files uploaded is in a directory structure like this, then the first dir would be Section, second dir would be Category, and then comes the filename.
The dirname of Section and Category would simply be automatically added to the Phocadownloads Section and Category, and filename would be as it is today; if the field Name is empty, then the name of the file will be used.
If no directory structure is used in autodir, then all files will be added to a default Section and Category.
This way, all files uploaded into the autodir, would be added automatically to the system and hence also viewable in the front-end.
This is in my opinion a really hand feature, and I'm guessing it would be fairly easily to program into the already great Phocadownload.
Thank you Jan for your work.
Cheers
Amrit