how to sending extra parameter (key/value) to an asp.net page using swfupload
we are using swfupload for the sake of uploading process in our project but we need add some extra parameter and send them via swfupload to aps.net page
how can I do this? is it possible at all to passing extra parameters to a server-side page by using 开发者_JAVA技巧swfupload?
regards.
It looks like you can use the addPostParam method to add parameters which will be sent back for each file uploaded:
http://demo.swfupload.org/Documentation/#addPostParam
You might also check out this related SO question: SWFUpload "addPostParam" doesn't work
This might answer your question, but not mine. You can call swfUploader.addPostParam
to add parameters to all the files being uploaded.
If you're queueing up multiple files like I am, this won't help you because it applies to ALL files in the queue, not each individual file. But if you're only uploading one file, you might be OK.
精彩评论