Unable to upload files which are 4MB or more

陌路散爱 提交于 2019-12-12 01:38:13

问题


I am trying to upload a file using my website. Everything works file until the file which I am trying to upload is 4MB or more.

I have checked the IIS7.5 settings, and it seems to be set to 30MB upload size. I am using FCKEditor to upload the files.

Does FCKEditor have a file upload limit? If yes, how do I change it? If no, why can't I upload files which are 4MB or more?


回答1:


Increase The default is 4096 (= 4 MB) maxRequestLength to 1 GB in web.config & 60000 seconds or whatever time you think it will take to upload

<system.web>
  <httpRuntime maxRequestLength="1048576" executionTimeout="60000" />
</system.web>


来源:https://stackoverflow.com/questions/22504009/unable-to-upload-files-which-are-4mb-or-more

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!