Hello Jan / Hello Users,-
first of all and once again: phocadownload is an awesome piece of work!
Now, my question as already mentioned in the title above:
I have another Extension that supports me with an upload function during the registration (chronoforms).
The uploaded files are stored outside the web-root in (so there is no danger in executing anything remotely) within the Phocadownload File-Drawer-Structure.
My first thought was that PD recognize the not-indexed files and would list them in the administration panel.
But that doesnt happens.
How can i manage to automatically indexing the new files for activating them effortless in the admin Panel?
I have full Server-Control. So if there is any additional programm, script or tool that does the job,- i will use it.
In Short:
My Goal is a simple one-click Option to activate this uploaded files. It is also safe to activate them absolutely automatically, as there are only pdf files and
because they are only shown through a Javascript Server-side-installed application wich cannot interpret anything else then pdf-script.
Can you give me a hint how to do that with PD?
Greetings,
Michael
Automatic indexing of a drawer with external uploads?
-
- Phoca Newbie
- Posts: 5
- Joined: 31 Jan 2015, 17:50
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Automatic indexing of a drawer with external uploads?
Hi, if you are using some external form to upload files to your site then you need to customize it, so after upload it adds the necessary items to Phoca Download database tables, in fact something like multiple add function in Phoca Download 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 31 Jan 2015, 17:50
Re: Automatic indexing of a drawer with external uploads?
Thanks.
I was afraid of something like this..
Would it fits to the needs of PD if i only add title, path and category of the files in question or is there something special about the DB-structure (something that maybe doesnt immediately catch my eyes at first sight) ?
Greets.
Micha
I was afraid of something like this..
Would it fits to the needs of PD if i only add title, path and category of the files in question or is there something special about the DB-structure (something that maybe doesnt immediately catch my eyes at first sight) ?
Greets.
Micha
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Automatic indexing of a drawer with external uploads?
Hi, in fact depends on which data you need - e.g. if you don't need e.g. date, it does not need to be added there and this is similar to other columns.
What is needed is parent id - id to category
Jan
What is needed is parent id - id to category

Jan
If you find Phoca extensions useful, please support the project