Download Script Name

From: Date: Mon, 13 Jan 2003 16:47:14 +0000
Subject: Download Script Name
Groups: php.windows 
Request: Send a blank email to php-windows+get-17829@lists.php.net to get a copy of this message
Hello all, I have a script that successfully provides a user with an open/save confirmation dialog box when downloading a file, and the correct filename displays in the file name edit box (thanks to Content-Disposition). But when the file actually starts to download, the title bar of the IE download box says something to the effect of, "10% of blah.php Completed" and so on, instead of saying, "10% of ActualFileName.exe Completed." (By the way, this is IE6.0 under XP Pro). I understand that's technically correct, especially since blah.php is the file that opened and is actually printing the contents of ActualFileName.exe, but this is confusing for users who think they are downloading the blah.php file instead (even though the file name edit box displayed the correct file name). My current work-around is to have ActualFileName.exe be a PHP script that opens ActualFileName.exe (the REAL ActualFileName.exe) and prints it out. And I only have Apache using PHP to process .EXE files in that one directory. But I'm curious as to whether there's a better way to do this, or whether I'm stuck on a technicality? Thanks. -- To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the GW Micro Technical Support Team. Aaron Smith GW Micro Phone: 260/489-3671 Fax: 260/489-2608 WWW: http://www.gwmicro.com FTP: ftp://ftp.gwmicro.com Technical Support & Web Development

« previous php.windows (#17829) next »