Zubrag.com
September 22, 2014, 10:17:00 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to force "save as" dialogue when clicking on the download link.  (Read 58101 times)
altoyes
Newbie
*
Posts: 4


« on: January 26, 2008, 12:29:11 AM »

hi everyone and to zubrag

thankyou thankyou, this script looks good!
thankyou for all your efforts and sharing them with us ...

everything working ...
i have 2 needs (the second need is being able to use a remote server for the download files, so will discuss that in another thread)
QUESTION
how do i force "save as" dialog.
when in IE, the download immediately is downloaded by my download manager which opens and begins downloading, revealing the download URL.
cannot utilise your wonderful script until i can force"save as"

any clues for me?
thankyou for your time...
alto

PS it has something to do with putting something in the header of the downloads page. eg

i have ...
1   created a directory called "downloads"
2   uploaded a file called "mp3.zip" into the "download" directory
3   created page called "index.html"
4   placed the following text into the "index.html"


<html>
<head>
<title>Untitled</title>
</head>
<body>
<a href="http://myserver.com/downsmart/download.php?f=mp3.zip">mp3.zip</a>
</body>
</html>


----------------------------------------------------
these are some links which contain clues, though i do not know how to utilise the information, i am a newbie ...


thankyou for your time
alto




FORCE SAVE AS


http://www.usenet-forums.com/php-general/52620-open-save-dialog-link-working.html

http://www.boutell.com/newfaq/creating/forcedownload.html


http://www.actionscript.org/forums/showthread.php3?t=22107


http://www.ahfb2000.com/webmaster_help_desk/showthread.php?t=914

http://www.webmaster-talk.com/php-forum/18079-php-force-download-problem.html


MIME

http://en.wikipedia.org/wiki/MIME

http://www.iana.org/assignments/media-types/




   

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC