For my current project droping the connection in half of file is not
problem, the user can resubmit the source file again, because it size is
rather small.
So if Response.WriteFile is used the next line is executed after the user
have downloaded the file, right?
"Patrice" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> AFAIK the server doesn't care. The page will run unless you tell otherwise
> (IsClientConnected if I remember).
>
> Patrice
>
> --
>
> "ESPN Lover" <(E-Mail Removed)> a écrit dans le message de
> news:(E-Mail Removed)...
>> So say the connection was dropped half way thru the transmission to the
>> client (internet connection problems, end-user closed browser
>> prematurely,
>> etc) then wouldn't the delete still run even though file wasn't
>> completely
>> received by the client?
>>
>>
>> "Patrice" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > If you stream the file using Response.WriteFile you should be able to
>> delete
>> > then this file following this streaming statement...
>> >
>> > Patrice
>> >
>> > --
>> >
>> > "Nikolay Petrov" <(E-Mail Removed)> a écrit dans le message de
>> > news:(E-Mail Removed)...
>> > > I have an ASP .NET page where a user uploads file, then this file is
>> > > processed and finaly a result file is downloaded to user.
>> > > My question is: Is there a way to find if user have downloaded the
> file,
>> > so
>> > > I can remove it from server?
>> > >
>> > > TIA
>> > >
>> > >
>> >
>> >
>>
>>
>
>
|