i am using the SWFUpload object to upload files to the Amazon S3 Bucket which uses the synchronous way to upload files when Javascript enabled in browser now i want to save them in a specific way (want to add a specific header) which i am going to pass from the view and then use that in the file name for Amazon S3 bucket but as here we are using the asynchronous way so not possible to pass any parameter from View
<input class="t-button" type="file" id="photo" name="photo" />
$("#photo").makeAsyncUploader({
upload_url: "URL for the function to be called from controller",
flash_url:<value>,
button_image_url : <Value>
etc etc, i tried but as i am not that much good in Javascript couldn't make it. Any type of example or help will be appriciated.
Thanks and Regards