By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,567 Members | 1,185 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,567 IT Pros & Developers. It's quick & easy.

Capture results of File Download dialog

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
Thanks for the reply. We definitely want to stay away from Active-x.
I'll look into the Java possibility.

Sep 23 '05 #3

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.