473,406 Members | 2,377 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

epp - ie6 changes file name on download

Please visit http://epaperpress.com/temp/t.html and click on the link. The
link source indicates the filename is

unix.tar.gz

however, when downloading in ie6, it changes the name to

unix.tar.tar

What's going on?
Jul 23 '05 #1
8 4827
Gazing into my crystal ball I observed "perspicacious" <nu**@null.com>
writing in news:GL********************@comcast.com:
Please visit http://epaperpress.com/temp/t.html and click on the link.
The link source indicates the filename is

unix.tar.gz

however, when downloading in ie6, it changes the name to

unix.tar.tar

What's going on?


Probably the same thing that Microsoft always does, assume.

I downloaded with Opera and IE, and was able to open both.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 23 '05 #2
Seeing no workaround, I've added text to my web site that users will have to
rename the file when they download.

Sigh...
Jul 23 '05 #3
"Adrienne" wrote in comp.infosystems.www.authoring.html:
Gazing into my crystal ball I observed "perspicacious":
Please visit http://epaperpress.com/temp/t.html and click on the link.
The link source indicates the filename is unix.tar.gz however, when
downloading in ie6, it changes the name to unix.tar.tar


Probably the same thing that Microsoft always does, assume.

I downloaded with Opera and IE, and was able to open both.


Add Mozilla to the list for "uses correct name".

If you tell people they have to rename the file, I hope you'll
indicate that IE is the only known browser with this problem.

--

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
Jul 23 '05 #4
Gazing into my crystal ball I observed "perspicacious" <nu**@null.com>
writing in news:wr********************@comcast.com:
Seeing no workaround, I've added text to my web site that users will
have to rename the file when they download.

Sigh...


When I downloaded it, I didn't have to rename it. Give it a try.

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 23 '05 #5
"perspicacious" <nu**@null.com> wrote in
news:GL********************@comcast.com:
Please visit http://epaperpress.com/temp/t.html and click on the link.
The link source indicates the filename is

unix.tar.gz

however, when downloading in ie6, it changes the name to

unix.tar.tar

What's going on?


Known issue with Internet Explorer.

When a request is made for
http://epaperpress.com/temp/unix.tar.gz
your server's response includes this HTTP header:
Content-Type: application/x-tar

It appears that based on that, IE is deciding
that the file extension should be ".tar".

If you edit your Windows Registry, and look at this key:
HKEY_CLASSES_ROOT\MIME\Database\Content Type\MIMEType
and find the application/x-tar subkey, on systems that
exhibit the behaviour you are talking about you'll see
that the entry for "Extension" is ".tar". Change that
to ".gz" and repeat the request for
http://epaperpress.com/temp/unix.tar.gz
and you'll find that IE 'does the right thing'.

A)
I have no idea if this registry change is
"the right thing to do", and of course most
people won't want to, or know how to, make
changes to their registry.
B)
I don't know if there are variations to the
HTTP headers returned by your server that
might make a difference to how IE behaves.
C)
MIME Type Handling in Microsoft Internet Explorer
http://support.microsoft.com/default...b;en-us;293336

--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website: http://members.shaw.ca/davepatton/
Jul 23 '05 #6

"perspicacious" <nu**@null.com> wrote in message
news:GL********************@comcast.com...
Please visit http://epaperpress.com/temp/t.html and click on the link. The
link source indicates the filename is

unix.tar.gz

however, when downloading in ie6, it changes the name to

unix.tar.tar

What's going on?


IE silliness. Try enclosing the file name in quotes in the Save As dialogue
box.
Jul 23 '05 #7
*perspicacious* <nu**@null.com>:

unix.tar.gz

however, when downloading in ie6, it changes the name to

unix.tar.tar


IIRC, which is not necessarily the case, IE decompresses the archive on
the fly (despite any HTTP header telling it to), so the "correct" file
name would indeed be:

unix.tar

--
The Hitchhiker's Guide to the Galaxy: "There is an art to flying, or rather
a knack. The knack lies in learning how to throw yourself at the ground and
miss... Most people fail to miss the ground, and if they are really trying
properly, the likelihood is that they will miss it fairly hard."
Jul 23 '05 #8
Not in this case. Just the name is changed. Contacted my host but they were
unable to reproduce the problem. I'll just stick with the advisor to change
the name of the download. If anyone's interested, the real link is at

http://epaperpress.com/pcc

Choose Resources > Unix > Environment

Thanks to all, especially Dave Patton, who really nailed the problem.
Jul 23 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: opioazul3 | last post by:
i have a website with mp3's that my proxy at work doens't allow the downloads. is it possible to come up with a php download script that changes the file extension before submiting it for...
1
by: John | last post by:
(access 2002) Anyone have any suggestions as to what may be causing access to not save form changes after I "tell" it to, exit database, then re-open later to discover the changes had not been...
0
by: karunakar | last post by:
Hi All I am not able to read the class name I want read the particular class name string path = System.Configuration.ConfigurationSettings.AppSettings; string className = path + ".User";...
0
by: Buddy Ackerman | last post by:
I am trying to implment a file download via a link such that when clicked, instead of starting the default application for that type of file the user will be presented with a download dialog...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
5
by: Joe | last post by:
I'm getting the following error when trying to call a page on a secure server. I'm not doing any impersonations or file access of any kind. The page is using PayPal and I'm wondering if PayPal has...
3
by: tshad | last post by:
I have a function that downloads a file to the users computer and it works fine. The problem is that I then want the program to rename the file (file.move) to the same name plus todays date. ...
16
by: matt | last post by:
I have used some free code for listing files for download, but I want to send an email to the administrator when the file has been downloaded. I have got some code in here that does it, but it will...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.