ok, I’ve updated the Extension, my bad. I was testing mostly on a stand alone edit form, and uploading 1 file at a time.
I have come accross something else, that seems to be with Codeigniter but EllisLab don’t seem to think is an issue:
If you post more than one file, EE will upload each file, BUT:
EE renames the file to the same as the first file field, and adds the file extension on the end
eg, first file is billy.jpg, second file is sammy.png, EE will rename sammy.jpg to billy.jpg.png
I’m not not sure what to do as none of the hooks that I can see will allow me to do anything about this.
I could probably write some ghastly file rename script, and rename each file with [field_id]_[timestamp].ext
but that would be… ghastly :(
See:
http://codeigniter.com/bug_tracker/bug/10800/
http://codeigniter.com/bug_tracker/bug/9153/
http://codeigniter.com/bug_tracker/bug/6911/
A fix is available by hacking, comment out
$filename = $this->file_name;
from system/libraries/Upload.php (approx line 993)
see accepted answer here: http://stackoverflow.com/questions/1908247/codeigniter-multiple-file-upload
