问题
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