Jquery + formdata implements file upload. Error occurs when uploading a file greater than 20m, and it is normal if it is less than 20m.

jquery + formdata implements file upload. Error occurs if the file is uploaded more than 20m, and normal if it is less than 20m.

Mar.30,2021

I think your backend has imposed a restriction. It is no problem for me to upload projects with a length of more than 30m.


the server checks the configuration. It should not be the problem of the front end.


ask the elder brother in the background to check the file upload size limit. Different servers have different upload size limits by default.


1. Tomcat sets the default form transfer data size;
2, if you use nginx to modify the client_max_body_size; of nginx

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6f3d-1e16.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6f3d-1e16.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?