The limit in .NET 2.0 is 2 GB.
If 3.5, consider this in your web.config, if you have one. it sets the maximum file size and timeout:
<httpRuntime maxRequestLength="4194304" executionTimeout="2400"/>
Of course, uploading a file to a website can be dangerous if you are not shy, so like other posters, consider using an existing, proven one, at least to find out all the caveats. Good luck.
Ash machine
source share