Eugenio,
Yes, there is a limit and it exists in order to prevent denial of service on a server with a slower connection. The setting for this limit is in the machine.config file, which can be found in:
%SYSTEM ROOT%\Microsoft.NET\Framework\v1.x.xxxx\CONFIG\
Look for the attribute maxRequestLength in the httpRuntime tag. The default value is 4096 which is 4 MB. You can change it appropriately.
>I've been using an ASP.NET page to upload files to the server based on the following sample:
>
>
http://samples.gotdotnet.com/quickstart/aspplus/default.aspx?url=/quickstart/aspplus/samples/webforms/ctrlref/htmlctrl/HtmlInputFile/doc_inputfile.aspx>
>The problem is that it does not work for large files (more than 5MB ).
>
>Any ideas?
>
>Thanks in advance.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi