PDA

View Full Version : Downloading a file


myrea
03-08-2006, 11:09 PM
Guyz how can I make people download my file?

Clicking a link and alert message then displaying 4 options:

Open , Save, Cancel, More info.

How can I do that?

Should I host my file?

Thanks...:)

Cool-August
03-11-2006, 11:03 AM
I wouldn't know,

but I do know though, that browsers won't let the user OR THE HTML/JS/VB just start downloading or open a file, the browsers OWN dialog comes up with those options you just listed. Otherwise there would be a MAJOR security breach. Example: an EXE could open on YOUR computer on the loadation of the page!

Why do you need those buttons in a dialog? Just put them in your window. And combine the "Save" and "Open" buttons into one button like: "Save / Open".

myrea
03-11-2006, 09:16 PM
Yes! That's what im talking about :o

<!--Just put them in your window. And combine the "Save" and "Open" buttons into one button like: "Save / Open". -->

How can I do that?

Can I use <a href="file.doc"> ??:confused:

Or it is JS??

Thanks Cool-August