ThaSniper
Karma: 0
|
Bulk or mass file add, hosted remotely - 2008/09/19 18:40
Hello.
I've searched the forum but no luck on this subject.
I need to do bulk files add to the remository. This is a mass file adding, but the files aren't hosted on my server. I can't do it one by one manually because I'm talking about hundreds of files. I couldn't find any functionality to do this automatically either.
Ways to do it that I can think of:
1. - I could write a .csv file with all the info: name, version, description, size, autor, remote download link, etc. Later, I'd just need a script to process the .csv and insert the data.
2. - Well, I could put it in .xml too, I guess. But I'd still need a script to process and insert.
3. - Alternatively I could insert the data directly on the database, with querys. I could write a file with the sql querys including all the info. In this case, all I need to know is what querys are made to the database each time a remote file is added to the remository.
Can anyone help? If no other option is available, option 3 might be very easy if someone can provide the info I need!
Thank you!
|