how to upload multiple files at once for resource?

how to upload multiple files at once for resource?

by Robin Sowton -
Number of replies: 3

When adding a Resource (with the Link to File or Web Site option selected), it may be necessary to upload multiple files. For example, many of our course modules have 20+ files attached to them. (An index.htm file will be specified, but when loaded it will reference a .swf file which in turn will reference lots of other .swf, .js, and audio files.)

The problem is that when you select the Upload file button on the Add Resource page and begin adding your files, it forces you to choose and upload one file at a time. This means 1/2 hour to upload a course vs. 5 minutes. And my team has tens of courses to load--with each course have many modules, and each module having lots of files.

Am I missing something? We've tried several things, including selecting one file and control-clicking on others, but this doesn't work. It will only let us select and upload one file at a time.

And if this is the way it's supposed to work, are there any specific plugins out there that will let us batch load these.

Any suggestions would be appreciated. Thanks!

Average of ratings: -
In reply to Robin Sowton

Re: how to upload multiple files at once for resource?

by James Scully -

Hi,

You zip the files together first, then upload the one zipped file!

Your Moodle should have a built-in unzip function which you will see on the files page.  Click "unzip" next to your uploaded zip file and this will preserve the directory structure of your files so they will work after they have been uploaded.  Just be careful with filenames, avoid spaces.

See the initial reply to this previous posting.

http://moodle.org/mod/forum/discuss.php?d=74103

In reply to Robin Sowton

Re: how to upload multiple files at once for resource?

by Robin Sowton -

Thanks! I'll try both of these and will see which one work best for what we're trying to do.