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 |
|
#1
| |||
| |||
| 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 |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| 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. |
|
#4
| |||
| |||
| 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 |
|
#5
| |||
| |||
| 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! |
|
#6
| |||
| |||
| Hi Its really helpful for me......THANKS. Can you Explain "denial of service" ..? Regards, M.Sundaram |
|
#7
| |||
| |||
| 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! |
|
#8
| |||
| |||
| 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... ![]() |
|
#9
| |||
| |||
| hi., BULK INSERT OrdersBulk FROM 'c:\file.txt' WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' ) i tried this procedure to upload 8MB text file to my sql server its works fine.., |
|
#10
| |||
| |||
| Thanks! That last tip really helped me out a lot. It worked perfectly the first time for me. |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reducing size of .ndf file in Ms Sql 2005 | nnraja | Database Support | 7 | 05-14-2009 04:07 AM |
| upload file | Kirubhananth | ASP and ASP.NET Programming | 5 | 03-13-2008 02: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 07:32 AM |
| How to Upload a file using Ajax? | ramkumaraol | PHP Programming | 1 | 08-06-2007 07:58 AM |
| How to Minimize PNG file size for mobile appl..? | itbarota | Mobile Software Development | 1 | 07-21-2007 12:43 AM |
Our Partners |