Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





Pages (2): [1] 2 »   Last Thread  Next Thread
Author
Thread Post New Thread   

Download File - Not Open It
 

Tha RagMan




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 04:17 AM  
Some time ago I asked for help on how to make a file available for
download from a web page and received the following line of code:
<a href="FileToDownload.EXE">Download</a>
I am attempting to make a txt file (*.doc) file available but instead
of offering it as a download after entering the line of code into the
*.html file, it automatically opens the file in the browser. I want
the visitor to strictly download the file, not open it from the web
site. How can I make it a "Download Only" file?
Thanks once again in advance for any help directed my way.
Tha RagMan



Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Mark Parnell




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 04:17 AM  
Previously in alt.www.webmaster, Tha RagMan <wmercier.nospam@shelby.net>
said:

> I am attempting to make a txt file (*.doc) file available but instead
> of offering it as a download after entering the line of code into the
> *.html file, it automatically opens the file in the browser. I want
> the visitor to strictly download the file, not open it from the web
> site. How can I make it a "Download Only" file?

Change the way your browser is configured to handle that file type. If
you want the same behaviour on your visitor's browser, then change the
configuration on their browser (if they'll let you).

--
Mark Parnell
http://www.clarkecomputers.com.au


Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Sharif T. Karim




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 04:17 AM  
Tha RagMan wrote:
> Some time ago I asked for help on how to make a file available for
> download from a web page and received the following line of code:
> <a href="FileToDownload.EXE">Download</a>
> I am attempting to make a txt file (*.doc) file available but instead
> of offering it as a download after entering the line of code into the
> *.html file, it automatically opens the file in the browser. I want
> the visitor to strictly download the file, not open it from the web
> site. How can I make it a "Download Only" file?
> Thanks once again in advance for any help directed my way.
> Tha RagMan
>

Why don't you specify for them to "Right click and save as">

--
Sharif T. Karim
...who loves IE?...
...The Probert opinion is to be ignored...
... muahahahaha...


Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Tha RagMan




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 04:17 AM  
On Tue, 25 Jan 2005 00:47:24 GMT, "Sharif T. Karim"
<sharif@nyc.rr.com> wrote:

>Tha RagMan wrote: 
>
>Why don't you specify for them to "Right click and save as">

Sharif;
Excellent advice. I was hoping to add a link or line of script that
would allow me to link from a graphic button and start the download
but your advice will suffice and work for my current needs. Of course
if you or someone in the group can give me some direction to
accomplish this it would be GREAT!

Thanks also to Mark Parnell for the fine suggestion and advice as
well. The helping hand from both of you is much appreciated.
Tha RagMan



Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Richard




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 04:17 AM  
On Mon, 24 Jan 2005 23:44:06 GMT Tha RagMan wrote:

> Some time ago I asked for help on how to make a file available for
> download from a web page and received the following line of code:
> <a href="FileToDownload.EXE">Download</a>
> I am attempting to make a txt file (*.doc) file available but instead
> of offering it as a download after entering the line of code into the
> *.html file, it automatically opens the file in the browser. I want
> the visitor to strictly download the file, not open it from the web
> site. How can I make it a "Download Only" file?
> Thanks once again in advance for any help directed my way.
> Tha RagMan


You might try putting it into a form button.
So that the button reads "download".




Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Red E. Kilowatt




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 09:21 AM  
"Tha RagMan" <wmercier.nospam@shelby.net> wrote in message
news:ou1bv052jap0skeecljossdrnmti1ah2q0@4ax.com
> Some time ago I asked for help on how to make a file available for
> download from a web page and received the following line of code:
> <a href="FileToDownload.EXE">Download</a>
> I am attempting to make a txt file (*.doc) file available but instead
> of offering it as a download after entering the line of code into the
> *.html file, it automatically opens the file in the browser. I want
> the visitor to strictly download the file, not open it from the web
> site. How can I make it a "Download Only" file?
> Thanks once again in advance for any help directed my way.
> Tha RagMan

The easiest way to deal with this is to make it a zip file. You can also
put a fake extension on it like mydoc.doc.remove and then tell people to
rename the file to mydoc.doc.
--
Red




Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Disco Octopus




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 09:21 AM  
Red E. Kilowatt wrote:
> "Tha RagMan" <wmercier.nospam@shelby.net> wrote in message
> news:ou1bv052jap0skeecljossdrnmti1ah2q0@4ax.com
> 
>
>
> The easiest way to deal with this is to make it a zip file. You can also
> put a fake extension on it like mydoc.doc.remove and then tell people to
> rename the file to mydoc.doc.

You could also (not so easily) force the server to serve the file with a
header that suggests to the browser to download the file, even if it
knows what to do with it.  I am not sure how strict browsers are in
doing what they are told when it comes to things like this, but it may
be an option for you to try.

look here for further details...

http://www.google.com.au/search?q=h...sition+download


Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Beauregard T. Shagnasty




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 09:22 AM  
Richard wrote:

> You might try putting it into a form button.
> So that the button reads "download".

Please come back to the group after you've had a bath and washed off
all the clue repellent. Thanks for your consideration.

--
-bts
-This space intentionally left blank.


Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Toby Inkster




quote this post edit post

IP Loged report this post

Old Post  01-25-05 - 09:22 AM  
Red E. Kilowatt wrote:

> The easiest way to deal with this is to make it a zip file. You can also
> put a fake extension on it like mydoc.doc.remove and then tell people to
> rename the file to mydoc.doc.

Though the default setting on the most common operating system out there
is set to not display file extensions in the file manager. So people may
have problems changing the extension.

St00pid I know.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me  ~ http://tobyinkster.co.uk/contact



Post Follow-Up to this message ]
Re: Download File - Not Open It
 

Dylan Parry




quote this post edit post

IP Loged report this post

Old Post  01-26-05 - 12:24 AM  
Toby Inkster wrote:

> Though the default setting on the most common operating system out there
> is set to not display file extensions in the file manager. So people may
> have problems changing the extension.

Not entirely true. The default setting is to hide *known* file
extensions. I shouldn't imagine that .rename_me (etc) is a known
extension on many systems.

--
Dylan Parry
http://webpageworkshop.co.uk -- FREE Web tutorials and references


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 02:56 AM. Post New Thread   
Pages (2): [1] 2 »   Previous Last Thread   Next Thread next
Webmaster forum archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top