473,511 Members | 15,302 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File download: save or cancel?

On downloading a file from a database, I need to update the database on the
status of the downloaded file (eg when it was downloaded and by whom).

How can I tell if the user has clicked save or cancel on the download
dialogue?


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Aug 11 '06 #1
1 2243
On Fri, 11 Aug 2006 10:22:31 +0100, Roger Withnell wrote:
On downloading a file from a database, I need to update the database on the
status of the downloaded file (eg when it was downloaded and by whom).

How can I tell if the user has clicked save or cancel on the download
dialogue?

You can't really... you need to look at your logs to see if they
downloaded it, which means you'll need to grab their IP and grep for it in
your logs. Could take a while! And nothing to do with js. Sorry

Aug 11 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2810
by: skyetech | last post by:
We're creating a file sharing area in our intranet. When a user clicks on a link they can save the file to their computer. When the file is done downloading and the 'File Download' dialog closes I...
2
1312
by: ntm | last post by:
I am using the following ASPC.VB code to download a text file: Response.Clear() Response.ContentType = "ignore/this" ' arbitrary Response.AddHeader("Content-Disposition",...
7
3685
by: theyas | last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE I've asked about this before and didn't get a...
1
5354
by: Roy | last post by:
Hi, I have a problem that I have been working with for a while. I need to be able from server side (asp.net) to detect that the file i'm streaming down to the client is saved...
5
3471
by: Patrick | last post by:
Following on from the excellent example at http://www.c-sharpcorner.com/Code/2003/Sept/ExportASPNetDataGridToExcel.asp on how to save a data-grid to excel file, how can I extend the example such...
2
2649
by: standish22 | last post by:
I want to open a word document stored in my database. What I do is save the document locally, and then open a new winform that has the WebBrowser Control on it and navigate to that new file. ...
0
979
by: Mahesha | last post by:
Hi All, I need to know how do we implement a file download feature in ASP.NET. As we see in the MSDN sites (say when we try to download the .NET famework) , refer this URL ...
1
1259
by: Justin | last post by:
Hi, i created a button for my user to download their datas (.csv). everything goes well but after u save/download the file. the website seems to stop working. i got two frames, the left frame...
3
2122
by: tshad | last post by:
I have a function that downloads a file to the users computer and it works fine. The problem is that I then want the program to rename the file (file.move) to the same name plus todays date. ...
0
1175
by: sz20067 | last post by:
Hi i want to develop a web page that contains unicode for non-english language. Now the problem is that either i use .eot or pfr for fonts ... im still facing problems in this scenario , so i want to...
0
7153
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...
0
7371
Oralloy
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,...
1
7093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7517
tracyyun
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...
0
5676
agi2029
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,...
0
4743
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...
0
3230
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...
0
3218
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
452
bsmnconsultancy
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.