I've not used adostream in a long time but can you not response.write a javascript window.close script after you've finished streaming the file?
Dan www.diado.com -----Original Message----- From: Andy and Kim Mills [mailto:[EMAIL PROTECTED] Sent: 27 August 2004 14:32 To: [EMAIL PROTECTED] Subject: [ASP] File Download Hello Guys: I am having a little dilemna and wondered how to solve it. I have a listing of files that I want to allow a client to download. When they click on the file: I invoke a JavaScript function that opens a new window (I log the information about the download, then use the adostream to download the file). The save as dialog box opens, which is what we want. however: once the file is downloaded: I have left behind a blank window that I opened to allow for the file to be downloaded. My question is: how can I invoke a function directly from the listing that does not open a new window, which will invoke the 'save as' dialog box, as well as allowing me to log the information? Thanks for any help Andy --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM --------------------------------------------------------------------~-> --------------------------------------------------------------------- Home : http://groups.yahoo.com/group/active-server-pages --------------------------------------------------------------------- Post : [EMAIL PROTECTED] Subscribe : [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] --------------------------------------------------------------------- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/active-server-pages/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
