I'm running server 2008 R2 and IIS7.5 on a Dedicated Server. I'm trying to upload very large files through a web form.
Files of 2GB or under upload fine. You can open the upload directory and see the file being uploaded.
But anything over 2GB fails. It will start the upload process, but after around 600mb it will just freeze, and the file can't be seen in the upload directory at all, it's as if it's being uploaded to memory.
Is there a setting I'm missing? My maxAllowedContentLength is set to 4GB.
did you set the executionTimeOut property in same HttpRuntime tag. may be its because of TimeOut.
Ashutosh Pathak
Blog: http://catchcode.blogspot.com Please mark it as answer if it helps, as clicking on the button can save time of others :)
MCP,MCAD,MCSD,MCTS
How much memory does the machine have? I'm assuming you're running 64 bit at least...
Using a web application to upload something like 2GB might not be the right approach. Just think if 5 or 10 or more people tried to upload a 2GB file at the same time. FTP might be a better option given the streaming nature of the protocol.
Stoink
0 Points
9 Posts
Files over 2GB being uploaded to memory.. not a maxAllowedContentLength issue!
Apr 18, 2012 10:11 AM|LINK
Hi,
I'm running server 2008 R2 and IIS7.5 on a Dedicated Server. I'm trying to upload very large files through a web form.
Files of 2GB or under upload fine. You can open the upload directory and see the file being uploaded.
But anything over 2GB fails. It will start the upload process, but after around 600mb it will just freeze, and the file can't be seen in the upload directory at all, it's as if it's being uploaded to memory.
Is there a setting I'm missing? My maxAllowedContentLength is set to 4GB.
Thanks
Ashutosh Pat...
Contributor
5737 Points
1105 Posts
Re: Files over 2GB being uploaded to memory.. not a maxAllowedContentLength issue!
Apr 18, 2012 10:16 AM|LINK
did you set the executionTimeOut property in same HttpRuntime tag. may be its because of TimeOut.
Blog: http://catchcode.blogspot.com
Please mark it as answer if it helps, as clicking on the button can save time of others :)
MCP,MCAD,MCSD,MCTS
Stoink
0 Points
9 Posts
Re: Files over 2GB being uploaded to memory.. not a maxAllowedContentLength issue!
Apr 18, 2012 10:27 AM|LINK
The timeout is set to the maximum for testing.
The odd thing is it not showing in the upload folder. Anything under 2GB does, anything over 2GB doesn't...
BrockAllen
All-Star
28134 Points
4997 Posts
MVP
Re: Files over 2GB being uploaded to memory.. not a maxAllowedContentLength issue!
Apr 18, 2012 12:55 PM|LINK
How much memory does the machine have? I'm assuming you're running 64 bit at least...
Using a web application to upload something like 2GB might not be the right approach. Just think if 5 or 10 or more people tried to upload a 2GB file at the same time. FTP might be a better option given the streaming nature of the protocol.
DevelopMentor | http://www.develop.com
thinktecture | http://www.thinktecture.com/
Stoink
0 Points
9 Posts
Re: Files over 2GB being uploaded to memory.. not a maxAllowedContentLength issue!
Apr 20, 2012 09:01 PM|LINK
It has 4GB of RAM.
I'm developing a website for uploading and encrypting files. There's a 100mb limit, uploading a 2GB+ file will cost a fee.
I can upload the file in Chunks, but then I'm left with 2 or 3 files that need joining together somehow...
Any ideas?
Thanks