1
Romo97531
Starting a Site with lots of files
  • 2008/1/13 19:08

  • Romo97531

  • Just popping in

  • Posts: 36

  • Since: 2005/6/1 1


Hi Im going to host a site with lots of file downloads. Is there any way to mass add them to a download database or something instead of doing them one by one? Thanks

2
fredgsanford
Re: Starting a Site with lots of files

I doubt that a module will allow that? ..but maybe check out wfdownloads first by smartfactory ..that module has tons of options.

If not, maybe it would be better/easier just to create a new directory called "downloads" and upload all of your files via ftp to it, then password protect the directory and give your members the password. At least it would list all of the files. Then use the tinycontent module or menu to link to it or something?

3
Romo97531
Re: Starting a Site with lots of files
  • 2008/1/13 19:39

  • Romo97531

  • Just popping in

  • Posts: 36

  • Since: 2005/6/1 1


Ehh...idk I still wanna use a download datatbase

4
mboyden
Re: Starting a Site with lots of files
  • 2008/1/13 19:44

  • mboyden

  • Moderator

  • Posts: 484

  • Since: 2005/3/9 1


Yes, but it depends upon the module you are using. Most don't have bulk adds, but with some simple database work, you can do it yourself.

Here's a generic method for how to proceed to figure out how to do it for that module.

1. Install the module. Take a snapshot of the module tables.
2. Add one item (you may have to add a category and sub-category and an item) to see what it adds to the database. 3. Take another snapshot of the module tables.
4. Compare the two.
5. Use that to construct a table of data in the spreadsheet.
6. Add the file info to the spreadsheet.
7. Upload the files to the upload directory (gleaned from the database)
8. Upload the data into your module tables.

Voila! Of course, you'll need to know how to export and import the data for the database and have those basic skillsets.

Is that enough to go on? Clear as mud?
Pessimists see difficulty in opportunity; Optimists see opportunity in difficulty. --W Churchill

XOOPS: Latest | Debug | Hosting and Web Development

5
fredgsanford
Re: Starting a Site with lots of files

haha mboyden ...you coders crack me up!

if we could do all of that ..we would be writing/creating our own modules ..lol

6
Romo97531
Re: Starting a Site with lots of files
  • 2008/1/14 0:24

  • Romo97531

  • Just popping in

  • Posts: 36

  • Since: 2005/6/1 1


Yeah really lol...Any other ideas?

Login

Who's Online

215 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits