I notice that files that required to be upload through the Moodle interface can only be upload one at a time. Is there any other way(s) to upload multiple files or even a directory (or maybe even multiple directories that contain files & sub-directories and then after upload into the Moodle directory, it will still retain the directories structure)
Probably we can have this new function/features added into the Moodle system? That would certainly help to save a lot of time rather than upload one file at one time.
Try zipping the files/folders, uploading the zip file to Moodle, and unzipping from there. That should allow you to upload multiple files and complete directory structures.
If you do this, though, be aware that when you upload a single file Moodle checks the name and if necessary changes it to one which won't cause Moodle a problem when you try to access the file (primarily it gets rid of spaces in file names, so Doc 1.doc becomes Doc_1.doc). When you unzip files Moodle doesn't get chance to check the names, so you could end up with problematic file and folder names in your moodledata folder. Just make sure that all your files and folders are suitably named before you zip them, though, and you should be okay.
The site is written in german, but I think even the installationguide is written in german as well you could understand it.
I use this tool and it is very useful!
below are the link to the web page, and the converted readme file
(Allows the upload of multiple files in a browser using Flash)
Based on SWFUpload v2 http://www.swfupload.org
(Open source MIT license)
1st The contents of the ZIP file completely to $ moodledir / files / copy.
2nd The flashupload.php file from the folder "de_utf8" to $ dataroot/lang/de_utf8 / copy
($ Dataroot be obtained by the Moodledata directory example: "/ srv / www / moodledata" under Linux
Or c: \ moodledata "or" c: \ xampp \ moodledata "replace Windows).
For English is the file from the folder "en_utf8" to $ dataroot/lang/en_utf8 / copy
Other translations, there is not. So you have the file from the folder flashupload.php "en_utf8"
In each subdirectory in the directory $ dataroot / lang / (eg: ru_utf8 for Russian) copy and adapt.
3rd Backup File $ moodledir / files / index.php (eg copy "index.php.orig" create)
4th $ Moodledir / files / index.php modify:
(Modified_index.php the file is the file of the Moodle modified version 1.8.3)
The file modified_index.php open and the section between
/ / Modification by hgeppl
/ / Modification by hgeppl
Into its own folder in index.php
$ Moodledir / files using copy and paste to insert the following:
A) "function html_header".
B) At the end of this function before the line:
Echo "<table border =" 0 \ "....
Copy the section into it.
Thanks in advance,
Anyone got any ideas to fix it?
You can now Flashupload v.2.2.0 from bildungstechnologie.net.
Alternatively you can download "Moodle Flashupload" from Moodle Tracker.
(which os, browser and flash-version are you using?)
Are you really using the new 2.2.0 version of "moodle flashupload" ?
Sorry Mike, i didn't have time to try this earlier..
It works fine if uploading to a course's root directory, but if I go into a subdirectory and try to upload it goes through all the motions but the file isn't actually there afterwards.
Thanks for looking into it,
I sometimes upload large files and folders containing lots of files over ssh, I've just run into the problem again and realised that www-data user didn't have permission to put the files in the sub-folders. I've set the permissions correctly and it now seems to work.
Sorry for wasting you time over me being thick,
EDIT: in the error_log file, I get messages that look like this:
[14-Oct-2009 08:29:38] PHP Warning: POST Content-Length of 9423398 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
My custom PHP.INI file looks like this:
upload_max_filesize = 128M
post_max_size = 128M
Processing time and memory load are not any problem at this point, so I didn't add anything to the PHP.INI file in this regard.
EDIT #2: found it, I just had to add a suPHP_ConfigPath parameter in my root .htaccess file so as to have my PHP.INI file settings recurse through my site folder structure. Works fine now!
Just a minor tweak... I hated having it at the top of the files page when the other controls were at the bottom, and it should NOT appear on "action" files pages like rename, etc.
To put it in the footer (below other buttons), and only when appropriate, do this hack to files/index.php instead of the hack in the readme.txt:
In function html_footer(), right before the line
//HACK -- MOD: FLASHUPLOAD - START
//HACK -- MOD: FLASHUPLOAD - END
Click the tick boxes > multiple link.
A rolls-royce version would give you the option of entering link names and description.
However, it seems the way the resource is written this is not simple.
Has anyone done anything with this? ??
I'm interested in something similar. I need to add 100 different webpages to 100 different courses. I'd like to do this all at once, but I'm not sure how to make that happen.