This is a discussion on File Upload Size Limit within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi I tyrd to upload files using HttpPostedFile. Seems like there's a limit on the size of the file (...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi I tyrd to upload files using HttpPostedFile. Seems like there's a limit on the size of the file (Request?) of around 5Mb. Anyone found a way to work around this, or increase the limit, When I try a bigger file I get a DNS error in IE Would seem to be some sort of server configuration issue. Cheers Kirthika |
| Sponsored Links |
| |||
| Hi All i got answer For File Upload Size Limit in DotNet By default ASP.NET limits the size of file uploads to around 4Mb. This is to prevent denial of service attacks where people try to bring down a server by launching massive files at it. To enable support for larger files, i was added the following configuration setting value to my apps (or machine's web.config file): <configuration> <system.web> <httpRuntime maxRequestLength="4096" /> </system.web> </configuration> Note that the "4096" value above is the size in Kbytes that is configured out of the box (in machine.config). [We can change it to be whatever size we want.] Thnx Kiruthika |
| |||
| Hi kiruthika, Can you clear me maximum length "maxRequestLength"..?its is limit or infinitive ...? maximum how many GB uploaded using this "HttpPostedFile" ..? Regards, M.Sundaram. |
| |||
| Hi, Read this Link How to upload a file to a Web server in ASP.NET by using Visual Basic .NET for more detail about file upload. thx Kirthika |
| |||
| Hi there, maxRequestLength attribute indicates the maximum file upload size supported by ASP.NET. ![]() This limit can be used to prevent (DOS) denial of service attacks caused by users posting large files to the server. ![]() The size specified is in kilobytes. The default is "4096" (4 MB). Max value is "1048576" (1 GB) for .NET Framework 1.0 and 1.1 and "2097151" (2 GB) for .NET Framework 2.0. ![]()
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| Hi, Result of any action or series of actions that prevents any part of an information system from functioning. ![]() is a hacker attack designed to shut down or overwhelm a system, such as a Web server or authentication server. ![]() An attack on a network designed to render it - or an Internet resource - unavailable. The target may be an organisation's e-mail services or its website. ![]()
__________________ S.VinothkumaR Behind me is infinite power, Before me is Endless Possibility, Around me is Boundless Opportunity, Why should I fear! |
| |||
| A denial-of-service attack (also, DoS attack) is an attack on a computer system or network that causes a loss of service to users, typically the loss of network connectivity and services by consuming the bandwidth of the victim network or overloading the computational resources of the victim system. ![]() that's it...guy... ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| upload file | Kirubhananth | ASP and ASP.NET Programming | 5 | 03-13-2008 03:19 AM |
| How can I extract just the extension file name from a forms file upload field? | itbarota | HTML, CSS and Javascript Coding Techniques | 1 | 10-22-2007 08:32 AM |
| How to Upload a file using Ajax? | ramkumaraol | PHP Programming | 1 | 08-06-2007 08:58 AM |
| Info: File Upload using Perl | raj | Perl | 0 | 07-23-2007 06:00 AM |
| How to Minimize PNG file size for mobile appl..? | itbarota | Mobile Software Development | 1 | 07-21-2007 01:43 AM |