RE: Serving Files with AServe
Tyler Palmer <[email protected]> Fri, 12 Sep 2003 19:10:58 -0500
| Newsgroups | gmane.lisp.open-source.franz |
|---|---|
| Message-ID | <[email protected]> |
Users select which files from a list they want in an archive. When they hit submit, a background process executes a shell command to zip the chosen files into an archive. Once the shell command returns, the URL for the file is published and the user's web page refreshes to the file's URL which cause the browser's save dialog to come up. ============================================== Tyler Palmer [email protected] Software Developer, Cyntergy Technology, LLC (918)877-6000 ext. 366 ============================================== -----Original Message----- From: Cooper, Jock [mailto:[email protected]] Sent: Friday, September 12, 2003 12:02 PM To: Franz Opensource (E-mail) Subject: RE: Serving Files with AServe I have my doubts that you'll be able to tell that the download is finished. Why don't you just write the file directly back to the client? Is this file being created in response to client action? -----Original Message----- From: Tyler Palmer [mailto:[email protected]] Sent: Friday, September 12, 2003 8:21 AM To: Franz Opensource (E-mail) Subject: Serving Files with AServe Is there a way in AllegroServe to tell if a published file has completed being downloaded by a client browser? I have a routine which creates a temporary zip archive, publishes the resulting file, and then in the refresh of the client browser, refreshes to a link to the temporary file which causes the browser's "save file" dialog to pop up. I want to get rid of the file as soon as possible after the client has finished downloading it, so that it is not sitting around and taking up space (as there could potentially be a lot of these temp files being generated). How can I tell on the server that a file download has completed? ================================================================== Tyler Palmer Software Developer, Cyntergy Technology, LLC [email protected] (918)877-6000 ext. 366 GPG Fingerprint: B3E9 D77B 64D7 1783 BA91 036D E4AC 18D0 DB19 4D95 ==================================================================