Reputation: 1052
I using this plugin (flash version) to upload files on IE 9 and below. Now I allow all file extensions, but if the file is csv it can be up to 4.5Gb anything else is 500Mb. I looked at the php file but the size validation is not there. Where can I check the file extension and size to make the pertinent comparisons?
Upvotes: 0
Views: 856
Reputation: 1377
This plugin have sizeLimit
option:
$('#someID').uploadify({
...
'sizeLimit':1024*1024,//1M
...
});
In the latest documentation the API is different. It has fileSizeLimit
The maximum size allowed for a file upload. This value can be a number or string. If it’s a string, it accepts a unit (B, KB, MB, or GB). The default unit is in KB. You can set this value to 0 for no limit.
You can see it here http://www.uploadify.com/documentation/uploadify/filesizelimit/
Upvotes: 1