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 4 1014
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" <jo******@mail.bg> wrote in message
news:ud**************@TK2MSFTNGP10.phx.gbl... 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
If you stream the file using Response.WriteFile you should be able to delete
then this file following this streaming statement...
Patrice
--
"Nikolay Petrov" <jo******@mail.bg> a écrit dans le message de
news:ud**************@TK2MSFTNGP10.phx.gbl... 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
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" <no****@nowhere.com> wrote in message
news:eA**************@TK2MSFTNGP14.phx.gbl... If you stream the file using Response.WriteFile you should be able to
delete then this file following this streaming statement...
Patrice
--
"Nikolay Petrov" <jo******@mail.bg> a écrit dans le message de news:ud**************@TK2MSFTNGP10.phx.gbl... 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
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" <no****@nowhere.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl... AFAIK the server doesn't care. The page will run unless you tell otherwise (IsClientConnected if I remember).
Patrice
--
"ESPN Lover" <es**@lover.com> a écrit dans le message de news:Oj**************@TK2MSFTNGP09.phx.gbl... 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" <no****@nowhere.com> wrote in message news:eA**************@TK2MSFTNGP14.phx.gbl... > If you stream the file using Response.WriteFile you should be able to delete > then this file following this streaming statement... > > Patrice > > -- > > "Nikolay Petrov" <jo******@mail.bg> a écrit dans le message de > news:ud**************@TK2MSFTNGP10.phx.gbl... > > 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 > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bart Plasmeijer |
last post by:
Hi,
I did create .net application that is using .net remoting. When I start the
application temp (.tmp) files are created into the "windows\temp" folder.
When I close the application the tmp...
|
by: James Proctor |
last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my
clients is intrested in a web based application, so im trying to play on and
learn it a tad. However im comming across lots...
|
by: Jon Ole Hedne |
last post by:
I have worked on this problem some hours now (read many-many...), and I
can't solve it:
In vba-code I create a table with Connection.Execute, and add some data to
it. This table is saved in the...
|
by: John Baker |
last post by:
Hi;
I am have a db back end situation, and have a problem with temp files. I am attempting to
use temp files to manage the modification of a master file, and its not working right.
I set up...
|
by: Harsh Vardhan Singh |
last post by:
hi,
i am trying to create a temporary file associated with a particular process.
For instance, i have a windows application which will create a temp file as
soon as it this program is executed....
| |
by: Jeff Dillon |
last post by:
When I browse to a simple .aspx page, I get the error:
Unable to create temp file in path
'c:\windows\system32\inetsrv\%SystemRoot%\TEMP\': The directory name is
invalid.
My TEMP variable is...
|
by: James Proctor |
last post by:
Hi there, im brand new to ASP. Ive done loads of VB coding and one of my
clients is intrested in a web based application, so im trying to play on and
learn it a tad. However im comming across lots...
|
by: robwharram |
last post by:
Hi,
I'm quite frustrated in the fact that I can't even display a simple
"Hello World" message on .Net. I've been through all of the groups and
searched all over the place and haven't been able...
|
by: robert d via AccessMonster.com |
last post by:
When my app starts up, it creates a temporary database. This temp database
is created from a 'model' database that is in the same folder as the
application. Because there is a model, the creation...
|
by: Mayer, Stefan |
last post by:
Hi,
for some other reasons, where i have no influence and no possibility to
change it; it is necessary to upload files tempoarily to a temp-folder in my
web-project. Allthough the files are...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |