Page 1 of 1

Batch import

Posted: 02 Mar 2016, 00:47
by zzzzk
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? :idea: Thank you

Re: Batch import

Posted: 05 Mar 2016, 17:16
by Jan
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

Re: Batch import

Posted: 05 Mar 2016, 19:44
by zzzzk
Thank you, I will try that.

Re: Batch import

Posted: 05 Mar 2016, 21:15
by Jan
Ok