|
-
Jun 19th, 2001, 10:17 AM
#1
Thread Starter
Evil Genius
attachments !
Hi all :
Code:
<BODY>
<A HRef="MyFile.doc">Click Here For File</A>
</BODY>
When I put the above in, it'll open the word doc up in a new Internet Explorer window.
How can I get this to download to the PC rather than open it up ?
You know when the sites give you a dialog box for where to put the file, then an all singing, all dancing MS progressbar for how long this'll take.
Is this easy ?
How can I do it please 
Thanks !!
-
Jun 19th, 2001, 10:37 AM
#2
Frenzied Member
I'm sure there is another way that you are probably thinking of, that don't recall off of the top of my head, but...
don't forget the user can right click and say "save target as" or whatever.
You can also use <a href='ftp://myserver/mypath/mydoc.doc'>.
Travis, Kung Foo Journeyman
As always, RTFM.
WWW Standards: HTML 4.01, CSS Level 2, ECMA 262 Bindings to DOM Level 1, JavaScript 1.3 Guide and Reference
Perl: Learn Perl, Llama, Camel, Cookbook, Perl Monks, Perl Mongers, O'Reilly's Perl.com, ActiveState, CPAN, TPJ, and use Perl;
YBMS, but Mozilla doesn't.
-
Jun 19th, 2001, 10:38 AM
#3
No idea, but I think it's more server dependent. Try to archive it and post the link.
-
Jun 19th, 2001, 10:38 AM
#4
Black Cat
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 19th, 2001, 11:58 AM
#5
Frenzied Member
You have almost no control over how the browser handles a link. If Word is installed, it will open in the browser using IE as a container for Word. If not, it will prompt to download. JoshT is right, zipping it may be the only consistent way to get the download prompt. Unless some goombah has their browser set up to display zip files instead. :c)
BTW- This topic is now the most posted. Doesn't anyone read the posts anymore?
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Jun 20th, 2001, 02:58 AM
#6
Thread Starter
Evil Genius
Thanks all !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|