How many files can be uploaded using input in HTML?

problem description

I built a small website using flask as the web framework. In the website, I realized the function of uploading files based on bootstrap-fileinput. When uploading files, I found that I could only upload up to 1212 files, but my need was to be able to upload tens of thousands of pictures at a time.

the environmental background of the problems and what methods you have tried

in order to achieve upload without refresh, I use the form of form+iframe to point the target of form to iframe.
at first I thought it was a problem with the bootstrap-fileinput module, but after looking at its code, I found that its initialization parameters do not limit the number of files uploaded by default. At the same time, I have added a native HTML input element to the page, and set type to file, to find that the result is the same.

related codes

HTML Code:

$("-sharpfile_upload").fileinput({
    showPreview: false,
    showUpload:fasle,
    showRemove:true,
    maxFileCount:0        // 0
});

I would like to ask you how to upload tens of thousands of pictures or files.

Apr.20,2021

you can take a look at this discussion

https://stackoverflow.com/que.

has something to do with browser, operating system, file name and size.

generally speaking, the total file name length of 32k is about 12000016000 files

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-1b3d024-4efc3.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-1b3d024-4efc3.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?