Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Question About File Upload

Reply
Thread Tools

Question About File Upload

 
 
Joey
Guest
Posts: n/a
 
      08-18-2005
I am using the HTML file upload control in my site. Everything works
great when I select any file type that is small in size. However, when
I select a larger file (i.e. 60MB), the upload times out? and fails,
and the page eventually reads "This page could not be displayed...".
This is all happening on the local development machine...(the
"PostedFile" is coming from the same machine). I want to make I can get
it working there before I deploy to the server.

What can I do to make it work with bigger files?

 
Reply With Quote
 
 
 
 
Joey
Guest
Posts: n/a
 
      08-18-2005
I found the source of the problem. It was being caused by a 4MB limit
that was planted by Microsoft to prevent DOS attacks. I put an
<httpRuntime maxRequestLength=[somenumber]> entry in my web.config file
to override it. Now all works great.

 
Reply With Quote
 
 
 
 
WJ
Guest
Posts: n/a
 
      08-18-2005
I would put all 10MB+ files into a dedicated FTP box for this purpose.

John

"Joey" <> wrote in message
news: oups.com...
>I found the source of the problem. It was being caused by a 4MB limit
> that was planted by Microsoft to prevent DOS attacks. I put an
> <httpRuntime maxRequestLength=[somenumber]> entry in my web.config file
> to override it. Now all works great.
>



 
Reply With Quote
 
lambi_uk@yahoo.fr
Guest
Posts: n/a
 
      08-23-2005
The problem with this is that you will still get a nasty DNS error if
you are trying to upload anything bigger than the maxRequestLength
limit...

To solve that problem too, have a read at my blog:
http://etiennel.blogspot.com/2005/08...ing-large.html

Hope this helps guys,
Etienne

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File upload from client application (non-form based upload) stuart@microsoft.com Python 1 11-25-2006 12:14 AM
Upload File. File Type Question. Shapper ASP .Net 3 09-13-2005 10:43 AM
Upload a file without file Upload control - ASP.Net =?Utf-8?B?U2FyYXY=?= ASP .Net 3 08-03-2005 01:09 AM
How to detect sizeof upload in order to show status of browser file upload? Heather Fraser Java 0 07-05-2004 12:35 AM
Upload Excel with Macros using HTML File Upload Prakash ASP General 3 11-12-2003 04:26 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57