
Hello, I am newbe using the swfupload, and have troubles when upload files larger than 4M. I am using the SWFUpload v2.0.2.Release.zip , asp.net 2.0, iis 6.0 and win2003 server. when uploading the file small than 4M, it's quick. If the file more then 4M, the progress bar will stop for a while at about 4259840 bytes, and after the progress bar is 100%, it's a long time to wait before it alert(413) error . I 've tried many times and files , and the result is the same.
Can someone help?
Regards.
Denly.
web.config
Add the following to your web.config. You'll have to tweak it for your own application but this is basically what you need.
<location path="Upload.aspx">
<system.web>
<httpRuntime maxRequestLength="524288" executionTimeout="10800" />
</system.web>
</location>
What this does is configure the application to allow uploads up to 512MB (the max is 2 GB) and extends the script execution timeout to 10800 seconds so there is plenty of time to make the upload for most people.
Thanks, gyphie It works now.
Thanks, gyphie
It works now.