vue-dropzone icon indicating copy to clipboard operation
vue-dropzone copied to clipboard

Max file size for multiple files counted together

Open sdudasko opened this issue 6 years ago • 2 comments
trafficstars

Is there a way to check max file size for all files together? For example, we have max file size set to 20MB so the user can attach either one big file with the size of 20MB or 20 files with the size of 1MB.

If there is not any built-in way do you have an idea how would I implement this feature?

sdudasko avatar Nov 22 '19 17:11 sdudasko

i need the same, did u figure out any solution ? @sdudasko

wahengchang avatar Feb 09 '20 08:02 wahengchang

Hi @sdudasko

You may need to explain more about your setup but perhaps use getQueuedFiles() method and then get the size of each file?

rowanwins avatar May 03 '20 14:05 rowanwins