PC Review


Reply
Thread Tools Rate Thread

ASP temp files

 
 
Nikolay Petrov
Guest
Posts: n/a
 
      18th Oct 2004
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


 
Reply With Quote
 
 
 
 
Sharon Tal
Guest
Posts: n/a
 
      18th Oct 2004
Hi.
I know it's not what you're looking for,
but it's a possible solution.
You can run a process once a day, that removes day old files.
Regards.


"Nikolay Petrov" <(E-Mail Removed)> wrote in message
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
>
>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      18th Oct 2004
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
>
>



 
Reply With Quote
 
ESPN Lover
Guest
Posts: n/a
 
      18th Oct 2004
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
> >
> >

>
>



 
Reply With Quote
 
Patrice
Guest
Posts: n/a
 
      18th Oct 2004
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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
Nikolay Petrov
Guest
Posts: n/a
 
      18th Oct 2004
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
>> > >
>> > >
>> >
>> >

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Cookies,Temp Internet Files & History Recreating In C:\Windows\Temp The Bandit Windows XP Help 2 20th Apr 2004 01:52 PM
Cookies,Temp Internet Files & History Recreating In C:\Windows\Temp The Bandit Windows XP Performance 2 20th Apr 2004 01:52 PM
Cookies,Temp Internet Files & History Recreating In C:\Windows\Temp The Bandit Windows XP Internet Explorer 2 20th Apr 2004 01:52 PM
what causes cookies,temp inet files & history to be created also in c:\windows\temp The Bandit Windows XP Internet Explorer 1 13th Apr 2004 01:11 AM
Index.dat Suite - View & Delete Index.dat Files, Temp Internet Files (TIF), Cookies, History, Temp Files BillR Freeware 39 1st Nov 2003 09:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:41 PM.