I've following code for multiple image upload:
<SCRIPT>
function render_uploadify()
{
$("#body_partition_middle").html('<DIV class = "photo_upload_w"><DIV class = "photo_upload" id = "photo_upload"></DIV><BR><INPUT id = "photo_upload_input" name = "photo_upload_input" type = "file"/><a href="javascript:$(\'#photo_upload_input\').uploadifyUpload();">Upload Files</a></DIV>');
$("#photo_upload_input").uploadify({
"uploader" : "/knock/js/uploadify/uploadify.swf",
"script" : "/knock/dummy/upload.html",
"cancelImg" : "/knock/js/uploadify/cancel.png",
"folder" : "/knock/js/uploads",
"multi" : true,
"queueID" : "photo_upload",
"auto" : true
});
}
</SCRIPT>
The above function is being called like:
<A href = "javascript:render_uploadify()">Upload</A>
Well, the GUI is rendered buy uploadify plugin but when I try to upload files, it ends up into IO error.
The request that I'm receiving at the backend is like:
POST /knock/dummy/upload.html HTTP/1.1
Host: 192.168.1.2:8888
User-Agent: Shockwave Flash
Connection: Keep-Alive
Cache-Control: no-cache
Accept: text/*
Content-Length: 2492
Content-Type: multipart/form-data; boundary=----------------------------368d2437ab8d
But there is no HTTP request message body.
Could somebody please tell me what I might be doing wrong here!!
Your IIS is limiting the asp request to the default size which is lower than the file you are uploading, I bet it will work for 10k files right now. Check the following link and that will fix it:
http://arulmurugant.blogspot.com/2008/04/request-object-error-asp-0104-80004005.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With