
Batch import
-
- Phoca Newbie
- Posts: 2
- Joined: 02 Mar 2016, 00:42
Batch import
Hello, I have a large number of files on an external server I would like to batch import, but keep the files on the external server. Is there any way to do this without having to do them one at a time? Import a text file? Or add directly to the database? Some other way?
Thank you

- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Batch import
Hi, there is no such option, so the easiest way is to do in database per SQL directly - e.g. in phpMyAdmin - just creeate one file in Phoca Download and export this item in phpMyAdmin - so you will know the row structure - such you can use e.g. with some automatic php script to produce other rows with external urls (e.g. you will create an array of external urls, you put them to foreach and make SQL query string for each row and all rows then you will add to the database)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 02 Mar 2016, 00:42
Re: Batch import
Thank you, I will try that.
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: