Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uploading large files
Message
 
À
23/01/2003 06:21:45
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brésil
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00744662
Message ID:
00744777
Vues:
11
This message has been marked as the solution to the initial question of the thread.
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.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform