Options for upload files bigger than 2Gb using web browser
Good day!
I'm looking for options on uploading really big files (over 2Gb) using web browsers. I know that Java applet solut开发者_运维百科ions will work, I know (and have tested by myself) that Flash has internal limitation about 2Gb. What about Silverlight? Have I missed some way\technology of doing this?
Thanks in advance!
To my knowledge upload in .NET 4 is limited to "2097151" (2 GB). It could be set in web.config
<system.web>
<httpRuntime maxRequestLength="2097151" />
</system.web>
OK, so there's another idea: you can upload files in chunks. There's a project on codeplex that might be of use to you.
(For Flash) Split the file into fixed sized chunks (maybe 10-50 MB each) of byte-arrays in the flash client, not too hard with the ByteArray class.
Now you can upload each chunk and the server can puzzle them together. Another plus to this is that if the client is ever disconnected, the server knows which parts of that file the user has already sent and the user can just continue from almost where he left.
You could even send multiple chunks at once (between 2 and 4, each browser has different max connection count), gaining better network utilization.
You can split the file into parts using 7zip, then upload load the parts as per usual.
精彩评论