Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TIWFileUploader with 500 files
#1
Hello:

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.
Reply
#2
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!


Attached Files Thumbnail(s)
   
Reply
#3
Hi there,

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.
Reply
#4
Thank you, we appreciate it. And yes, I totally agree that a ZIP would be much better. But the users strongly object against this.
Best regards
Reply
#5
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...

What is your IW version?
Reply
#6
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
Reply
#7
We have modified the underlying component to use a POST request instead of a GET request for related events.

This fixes the issue you are having with the upload of (possibly) thousands of files.

A new update will be released soon.

Cheers
Reply
#8
Thanks a lot - let me please know when available
ciao
Reply
#9
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
Reply
#10
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...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)