Interesting file behaviour with Multiple File Upload Plugin
Hi Folks,
Have setup a simple testbed using the
Multiple File Upload Plugin (v. 1.47) and using PHP as the file uploading script.
Everything works great, except I have an error with the odd file here and there.
Basically, for these particular files, the array value for [error] is showing as: 2 and everything
else (except the name) is blank.
Here is an example (nb: quotes.txt uploads fine, but test.jpg doesn't):
Array ( [name] => Array ( [0] => quotes.txt [1] => test.jpg ) [type] => Array ( [0] => text/plain [1] => ) [tmp_name] => Array ( [0] => /private/var/tmp/phpEhLnHU [1] => ) [error] => Array ( [0] => 0 [1] => 2 ) [size] => Array ( [0] => 705 [1] => 0 ) )
I am doing this on a Mac, so I wonder if it is a Mac filesystem thing.
But I haven't been able to work out any pattern as to why some files work and some files don't.
Any help would be appreciated.
Cheers, Craig