jquery – uploadify:IO错误

前端之家收集整理的这篇文章主要介绍了jquery – uploadify:IO错误前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有以下代码用于多个图片上传
<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>

上面的函数被称为:

<A href = "javascript:render_uploadify()">Upload</A>

好吧,GUI是渲染购买uploadify插件,但当我尝试上传文件时,它最终导致IO错误.

我在后端收到的请求是这样的:

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

但是没有HTTP请求消息体.

有人可以告诉我,我在这里做错了什么!!

解决方法

您的IIS将asp请求限制为默认大小,该大小低于您上传文件,我敢打赌它现在可以用于10k文件.检查以下链接,这将解决它:

http://arulmurugant.blogspot.com/2008/04/request-object-error-asp-0104-80004005.html

原文链接:https://www.f2er.com/jquery/177329.html

猜你在找的jQuery相关文章