Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Download File - Not Open It

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Stargateinc.com aka stargate.com  
Author Message
user286

External


Since: Nov 01, 2003
Posts: 54



(Msg. 1) Posted: Mon Jan 24, 2005 7:35 pm
Post subject: Download File - Not Open It
Archived from groups: alt>www>webmaster (more info?)

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

 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
webmaster26

External


Since: Feb 05, 2004
Posts: 352



(Msg. 2) Posted: Mon Jan 24, 2005 7:35 pm
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Previously in alt.www.webmaster, Tha RagMan <wmercier.nospam DeleteThis @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
<a style='text-decoration: underline;' href="http://www.clarkecomputers.com.au" target="_blank">http://www.clarkecomputers.com.au</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
sharif2

External


Since: Jan 25, 2004
Posts: 110



(Msg. 3) Posted: Mon Jan 24, 2005 8:35 pm
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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:
 > Download
 > 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...<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
anonymous3

External


Since: Apr 03, 2004
Posts: 146



(Msg. 4) Posted: Mon Jan 24, 2005 8:37 pm
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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:
 > Download
 > 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".<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
user286

External


Since: Nov 01, 2003
Posts: 54



(Msg. 5) Posted: Mon Jan 24, 2005 10:35 pm
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Tue, 25 Jan 2005 00:47:24 GMT, "Sharif T. Karim"
<sharif.RemoveThis@nyc.rr.com> wrote:

 >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:
  >> Download
  >> 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;
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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
user295

External


Since: Nov 07, 2003
Posts: 321



(Msg. 6) Posted: Tue Jan 25, 2005 12:14 am
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
rekilowatt

External


Since: Jun 29, 2003
Posts: 371



(Msg. 7) Posted: Tue Jan 25, 2005 12:35 am
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Tha RagMan" <wmercier.nospam.TakeThisOut@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:
 > Download
 > 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<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
discooctopus2

External


Since: Dec 02, 2004
Posts: 39



(Msg. 8) Posted: Tue Jan 25, 2005 12:35 am
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Red E. Kilowatt wrote:
 > "Tha RagMan" <wmercier.nospam.RemoveThis@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:
  >>Download
  >>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.

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...

<a style='text-decoration: underline;' href="http://www.google.com.au/search?q=http+content-disposition+download" target="_blank">http://www.google.com.au/search?q=http+content-disposition+download</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
usenet200501

External


Since: Jan 02, 2005
Posts: 74



(Msg. 9) Posted: Tue Jan 25, 2005 3:35 am
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 ~ <a style='text-decoration: underline;' href="http://tobyinkster.co.uk/contact" target="_blank">http://tobyinkster.co.uk/contact</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
rekilowatt

External


Since: Jun 29, 2003
Posts: 371



(Msg. 10) Posted: Tue Jan 25, 2005 2:35 pm
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Toby Inkster" <usenet200501 DeleteThis @tobyinkster.co.uk> wrote in message
news:pan.2005.01.25.07.41.18.120307@tobyinkster.co.uk
 > 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.

That's true. I forgot about that. The problem with solving this kind of
issue is deciding what skill level the people have that you're dealing
with. I know from experience that Microsoft Word files will open in the
browser and then often crash the browser, so it's a good idea not to let
it open in the browser. You can put a link and say "Click on this link
and use 'Save As' to save it to your computer, and people will ignore
that and just click on it. Or they'll save it and not know where they
put it or how to access it. Same with a zip file or changing the
extension or forcing the browser to save instead of load the file.

When you get right down to it, the only safe thing to do is to design
everything so that even a moron can manage it, and in this case I think
that would mean using a txt file.
--
Red<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
usenet

External


Since: Sep 14, 2004
Posts: 1119



(Msg. 11) Posted: Tue Jan 25, 2005 2:35 pm
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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
<a style='text-decoration: underline;' href="http://webpageworkshop.co.uk" target="_blank">http://webpageworkshop.co.uk</a> -- FREE Web tutorials and references<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
user286

External


Since: Nov 01, 2003
Posts: 54



(Msg. 12) Posted: Tue Jan 25, 2005 8:35 pm
Post subject: Re: Download File - Not Open It [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Mon, 24 Jan 2005 20:37:38 -0600, "Richard" <Anonymous.RemoveThis@127.001>
wrote:

 >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:
  >> Download
 >
 >You might try putting it into a form button.
 >So that the button reads "download".

Gang!
Thanks to all of you who responded with your informative insight and
help. I elected to take a couple of your fix's and put up a link to
the file with an added msg to right click then left click "Save
target as..." to download. This should allow the user to choose either
of the options. View in the browser or download. Works to perfection.
The customer loved it.

Thanks for all the great options, opinions, and information. Your
responses are much appreciated.
Tha RagMan<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Download File - Not Open It 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Download instead of "open" - I usually write file headers like this: Content-Disposition: inline; filename=some_file.pdf Content-type: application/pdf for a PDF I've found some web users are unable to figure out how to save that. What's the best way to pop a save as instea...

Download file corrupted - Over a couple of months I received complaints that the .exe file they downloaded from my website was corrupted. Most website users had no problems with the file, and I made a download of the file from several different computers without any problems at..

Need to request information before file download - Hi, Has anyone come across a free perl CGI script for Windows that does the following: When a user clicks on a file download link, they are taken to a form. Once the form is completed and submitted, the information is emailed to the webmaster and the..

Quick favour please. Test file download - I have had some customers commenting that they cannot open a zip file. http://www.charlessweeney.com/r21.zip Can you please try to download it and open it, do you get any errors? I have tried it several times without any problems. I will only leave i...

MP3 link - prompt user to download the file - Hi I want to put a link on my site so a user clicking on it will be prompted to save and download the MP3 file instead of it automatically opening media player etc and playing the file. what is the command to do this?
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]