we have a scenario in our software where the user uploads several files at once. Sometimes users will upload 400/500 files at once and when this happens the TIWFileUploader event AsyncSelectFile is not triggered if we deploy our software using Http.Sys or ISAPI. It works fine when we use the Indy Stand alone server. We are aware there is a limitation on IIS request size, but we'd like to confirm our problem is really an IIS limitation or it may be a IWFileUploader bug.
Hello, I have to correct myself - it also fails when using the Stand Alone Server, when we ty to upload 800 files at once. The Error message is attached... Any help greatly appreciated!
As a general recommendation I'd say that you should require the user to zip the files and send a single file instead of thousands of them.
I'm sure some limitation exists either in the request or the software layer dealing with the request (Indy/IIS/HTTP.SYS). Some limits may not reflect in an exact number of files (e.g. if the limit is a header field, the name of the files can be the limitation factor, not the number of them per se), which makes hard to say that "no more than X files can be uploaded".
Anyway, I'll check the issue and get back to you ASAP.
06-20-2025, 10:43 PM (This post was last modified: 06-20-2025, 10:49 PM by Alexandre Machado.)
I tested several times with 1000 files and it works correctly both in Indy/SA and Http.sys.
But the problem you are having is the GET request required by your event OnAsyncSelectFile. There is a limitation of the size of this request, as I informed above...
Thanks a lot. We have version 16.0.11. And yes, you are right, we have really long filenames (well, our customers do...), so we might get into a problem with the headers. I suppose it is not really possible to Zip the File List before sending to the server and unzip it on the server side in IW?
Many greetings
Sorry - once again... I really do not want to put pressure or whatever on you, but it would be really kind of urgent for me. Do you see any chance to make it happen in the next 24 hours? Thanks a lot... Hans
Oh - and while you are at this, I would have an additional request for the TIWFileUploader: When using Drag and Drop the OnAsyncSelectFile does not fire at all - could you implement that also? Thank you very much... and I am sorry for the urgency, it comes from behind me...