Page 1 of 1

Maximum number of upload files

Posted: Fri Jan 30, 2015 1:22 pm
by kumar

When I try to upload a file I am getting following error in popup "Maximum number of files exceeded". Total number of files uploaded by me till now is 116.
In ewcfg11.php I found following line define("EW_MAX_FILE_COUNT", 0, TRUE); // Max file size
Is it limits the upload count?


Re: Maximum number of files exceeded error

Posted: Fri Jan 30, 2015 3:14 pm
by mobhar

Yes, it seems the constant is for limit the maximum number of uploaded files. Zero should mean unlimited. Try to define the largest value.


Re: Maximum number of files exceeded error

Posted: Fri Jan 30, 2015 4:52 pm
by kumar

I modified as, define("EW_MAX_FILE_COUNT", 1000, TRUE);
Now no error. Thank you.


Re: Maximum number of files exceeded error

Posted: Thu Oct 06, 2022 1:44 pm
by cmumad

Anyway to set this number into project file directly without editing output file after that?


Re: Maximum number of files exceeded error

Posted: Thu Oct 06, 2022 9:15 pm
by arbei

You may simply use Global Code, e.g. (Assume v2023)

Config("MAX_FILE_COUNT", 1000);


Re: Maximum number of upload files

Posted: Thu May 04, 2023 9:00 am
by cmumad

Thank you so much.

I already try to put
Config("MAX_FILE_COUNT", 1000);
but still get error UploadErrMsgMaxNumberOfFiles

Do I need to do something more?


Re: Maximum number of upload files

Posted: Thu May 04, 2023 9:04 am
by cmumad

I forgot to tell that

What I try to do is in import port not normal uploading file in to table field.


Re: Maximum number of upload files

Posted: Thu May 04, 2023 9:17 am
by mobhar

What did you mean by in import port not normal uploading file in to table field.? Can you explain it in more detail? A real example would be better to comprehend your situation.


Re: Maximum number of upload files

Posted: Thu May 04, 2023 10:35 am
by arbei

You may change ew.importUploadOptions.maxNumberOfFiles (default is 10) by JavaScript.