blueimp/jQuery-File-Upload — Issue #955: Adding Form Data In The Send Event
Author: benwaine
Created: 2012-01-17 16:06:48+00:00
State: open

Hello,

I'm sending files one by one (sequentialUploads: true). When the first one is uploaded an id is returned in the response that should be used by all other files in the queue.

I originally tried setting the formData parameter to a callback (which grabs the id form a variable) thinking this would be executed each time a file is uploaded, however it is just executed multiple times when adding numerous files to the queue.

My next attempt was to add the ID returned in the first file in the send event, but I can get this to work.

I've seen the solution here: https://github.com/blueimp/jQuery-File-Upload/issues/580 but didn't understand.

Any ideas on how to achieve my goal?

Thanks,

Ben