Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Capture results of File Download dialog

Reply
Thread Tools

Capture results of File Download dialog

 
 
skyetech
Guest
Posts: n/a
 
      09-22-2005
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.

 
Reply With Quote
 
 
 
 
Java script Dude
Guest
Posts: n/a
 
      09-22-2005
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

 
Reply With Quote
 
 
 
 
skyetech
Guest
Posts: n/a
 
      09-23-2005
Thanks for the reply. We definitely want to stay away from Active-x.
I'll look into the Java possibility.

 
Reply With Quote
 
Joakim Braun
Guest
Posts: n/a
 
      09-24-2005
"skyetech" <(E-Mail Removed)> skrev i meddelandet
news:(E-Mail Removed) 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Capture cancelling of file download dialog? Mark Anderson Javascript 2 11-16-2006 10:27 AM
File name is displayed Garbled in "File download dialog box" =?Utf-8?B?SWJyYWhpbS4=?= ASP .Net 0 08-12-2006 06:44 AM
Force Open .OFT file in Outlook do not show File Download Dialog Kele ASP .Net 0 07-14-2005 06:27 AM
How to hide the dialog when execute a dialog based application in VC? yw C++ 3 07-02-2005 03:35 AM
Strange characters displayed in file name - File Download Dialog - IE Daniel Cardoso ASP .Net 1 09-24-2004 05:19 PM



Advertisments