Re: File Post Control

From: Patrice (
Date: 09/28/04

Date: Tue, 28 Sep 2004 15:41:36 +0200

Also are those files uploaded by end users ???!!! If not I would consider to
change the arhcitecture if posisble. You could also transfer changes instead
of uploaidng the whole thing each time (or is this already just the changes


"tajeshwar" <> a écrit dans le message de
> Hi,
>     I am using file post control to upload a large file to web server.
> file can be very large(5-10 GB).
>     Now what this control do is that it will reject any such request
> of ASP.NET security features.
>     Now what I want to do is to handle this thing at HttpModule level.
> is see if the request is for uploading
>     a file. If so then I should be able to change the content-length
> property in headers and make it small so that
>     the request shouldn't be rejected. Second I should be able to grab the
> InputStream and write it into some file store
>     and keep on rejecting th eread portion from memory. Now in
> multipart/form-encoded requests this is not possible.
>     Because I don't get anything for InputRequestStream. I am not able to
> find a solution for this problem.
> Regards,
> Tajeshwar