Ask a Question related to ASP.NET General, Design and Development.
-
Thomas Due #1
Handling large file upload
Hi,
I am writing an ASP.NET project where I allow users to upload files to
the server. I have changed to web.config to allow a total file size of
100MB. My problem is that if the total file size exceed this amount the
page simply stops works, and I get a "Server unreachable" error.
Is there any way to handle this, so I am able to present the user with
a nice error message telling him that the maximum file size has been
exceeded.
Furthermore, it is my understanding that the server uploads all files
to memory before I get to handle them with HtmlInputFile. Is there any
way to perform some checking beforehand, by using http header handle or
something?
Examples will be appreciated.
Thank you in advance,
--
Thomas Due
Software Developer
Scanvaegt Nordic A/S
Thomas Due Guest
-
file upload is killing my server with large files
I am using a cffile to upload files to a directory on my server. I have my memory up to a gig on the java settings on the cold fusoin admin. I have... -
large directory handling
Hello all, I am trying empty a directory with over 4000 files with a script, and do not understand why I can only delete half at a time. I am... -
techniques for handling large text files
Hi, If this question would be better posted to another perl list, please let me know. I have a very large text files (~2 GB) and it's in the... -
#17978 [Com]: Large file upload doesn't work remotely
ID: 17978 Comment by: oxis at sodge dot org Reported By: daniel at pop3web dot com dot br Status: Bogus Bug... -
#17606 [Com]: File upload fails on large files
ID: 17606 Comment by: rahuddleston at yahoo dot com Reported By: luimarma at iti dot upv dot es Status: Closed... -
vrushal #2
Handling large file upload
hi
add httpruntime tag in WEB Config .. and add propery
maxrequestlength.
default value for maxrequestlength is around 4 MB u have
to change it..
by setting value for maxrequestlength will do.
vrushal
upload files to>-----Original Message-----
>Hi,
>
>I am writing an ASP.NET project where I allow users tofile size of>the server. I have changed to web.config to allow a totalthis amount the>100MB. My problem is that if the total file size exceederror.>page simply stops works, and I get a "Server unreachable"the user with>
>Is there any way to handle this, so I am able to presentsize has been>a nice error message telling him that the maximum fileuploads all files>exceeded.
>
>Furthermore, it is my understanding that the serverIs there any>to memory before I get to handle them with HtmlInputFile.header handle or>way to perform some checking beforehand, by using http>something?
>
>Examples will be appreciated.
>
>
>Thank you in advance,
>
>--
>Thomas Due
>Software Developer
>Scanvaegt Nordic A/S
>.
>vrushal Guest
-
Jos Vernon #3
Re: Handling large file upload
Thomas
You need to use a third party product to do this type of thing. The fact> Furthermore, it is my understanding that the server uploads all files
> to memory before I get to handle them with HtmlInputFile. Is there any
> way to perform some checking beforehand, by using http header handle or
> something?
that large uploads are cached in memory will likely cause ASP.NET to
recycle/crash.
We do one solution and I believe there is at least one other out there -
though of course not as good as ours ;-).
Best Wishes
Jos
----------------------------------------------------------------------
jos vernon
[url]http://www.websupergoo.com[/url]
..NET Image Components & Consultancy
----------------------------------------------------------------------
Jos Vernon Guest



Reply With Quote

