473,324 Members | 2,248 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Capture results of File Download dialog

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 want to update
the database to flag that file as checked out. Because we don't want
anyone else to download it until the file has been re-uploaded.

Does anyone know how I can know when the dialog closes? It would also
be good to know if the user clicked Cancel instead of Save.

We're standardized on XP Pro, IE6+.

Thanks.

Sep 22 '05 #1
3 2799
Never found such a capability.

The only way I know of is to use a download Java Applet or evil
Active-x control.

Although, if it is possible, I would love to know how for my own
document management framework.

JsD

Sep 22 '05 #2
Thanks for the reply. We definitely want to stay away from Active-x.
I'll look into the Java possibility.

Sep 23 '05 #3
"skyetech" <sk******@skyemark.com> skrev i meddelandet
news:11**********************@o13g2000cwo.googlegr oups.com...
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 want to update
the database to flag that file as checked out. Because we don't want
anyone else to download it until the file has been re-uploaded.

Does anyone know how I can know when the dialog closes? It would also
be good to know if the user clicked Cancel instead of Save.

We're standardized on XP Pro, IE6+.


You can't plug into the download process using standard javascript, I
believe. Perhaps the users should explicitly check out/check in files? Once
checked out, the download is initiated and the file should only be
downloadable by the user that checked it out - the database keeps track of
that. (the user can still cancel a download, but I don't think you can get
around that problem.) ...There could also be a "download copy" feature if
other users want to read-only-access a checked-out file. And an area that
lists each user's checked out files for easy re-retrieval/checkin?

--
Joakim Braun
Sep 24 '05 #4

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

Similar topics

0
by: Buddy Ackerman | last post by:
I am trying to implment a file download via a link such that when clicked, instead of starting the default application for that type of file the user will be presented with a download dialog...
7
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
by: Hose B | last post by:
HI all, I have a legacy app in which users can pick various page templates. There is a template preview dialog. It works such that they view a list of icons in an asp page that represent each...
4
by: Nathan Sokalski | last post by:
I want to give visitors to my site the option of downloading a generated ..txt file by clicking a button. I know how to generate text files, but how do I cause the browser to pop up one of those...
2
by: Ken Varn | last post by:
I have an ASP.NET page that incorporates the following code on a button press. private void DownloadTag_Command(object sender, CommandEventArgs e) { FileStream fs; String Filename; Filename...
4
by: Jonny | last post by:
Hello Group How do I open a Save File Dialog from an ASPX page behind a browse button? Any help would be fantastic!! I am using ASP.NET 1.1 using VB.NET as the coding language TIA
2
by: Mark Anderson | last post by:
Is it possible to identify the action of a user cancelling by the user of file download dialog? (as opposed to something else being captured. Ideally I'd like to do this for a IE6+/FF v1.5+/Safari...
6
by: Don | last post by:
How can I capture the name of the file a user right clicks in the open file dialog using the common dialog box control? I can capture the name if a file is double clicked, or OPEN is clicked...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.