Closed Bug 272466 Opened 20 years ago Closed 19 years ago

Download bug; save link as downloads "document.asp.htm" instead of the PDF file

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jorn_bue, Assigned: bugs)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; da-DK; rv:1.7.5) Gecko/20041118 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; da-DK; rv:1.7.5) Gecko/20041118 Firefox/1.0

Hi

when trying to download an embedded PDF via right click and choosing "save link
to disc", firefox should download the pdf file, but instead firefox downloads a
file called "document.asp.htm". If i left click, the PDF documents opens
perfectly. Ifg i do the same test with IE6 (right click save as" the ODF file is
downloaded perfectly.

Try e.g to DL the PDF file "er6guide_en.pdf" via right click "save ling to disc"
from the page http://www.ontrack.com/library/#userguides.

See if you get the same experiance. 
Win XP sp2, FF 1.0, no themes and extensions.

Jorn

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Actual Results:  
Downlaods wrong file

Expected Results:  
should download the referred embedded file
The links don't go directly to the PDF files - they go to an intermediate page
that uses Javascript to collect assorted data (browser name, referring page,
whether Java is enabled, etc) then redirect the browser to the requested PDF
file. This is the page that is being saved.

FWIW, I've just tried it with IE (also on XPSP2), and it saves the HTML page
like Firefox does. I'm surprised to hear that you were able to save the PDF in
this way - I don't see how a browser would 'know' what the intent of the
intermediate page is.
Hi

i just did the same; strange in this test it saves the HTML page. Yesterday i
did the result as described. I will do further testing and let you know.

Reg Jorn
Make sure as well that you are not encountering bug 264757.
Firefox v1. will not commence downloads of .pdf files in my domains sub-directory.
www.yachtmarine.com/CATALOG80/index.html    Firefox just displays a blank page. 

Otherwise works perfectly with Internet Explorer and Opera.

Appreciate your advice

Tore Christiansen
YACHTMARINE

I use Windows XP Pro.
Firefox v1. will not commence downloads of .pdf files in my domains sub-directory.
www.yachtmarine.com/CATALOG80/index.html    Firefox just displays a blank page. 

Otherwise works perfectly with Internet Explorer and Opera.

Appreciate your advice

Tore Christiansen
YACHTMARINE

I use Windows XP Pro.
The problem you describe is not a particularity of pdf-files but appears also
with doc-Files etc. It seems to concern the Firefox 1.5 Beta version in general.
It happens every time you try to download a file using the right click "save
file as". As far as I understand the html source no javascript is concerned. 

This is the html line:
<td><a
href="http://www.gmxattachments.net/de/cgi/msgpart/%7E%24in%5Ferster%5FEinsatz%5Fals%5FTechnical%5FSpecialist%2Edoc?LANG=de&MSGNO=545%2D2d4a3718078986caa65ae959ed5b1b20&m=765412690%2E1127216326&PARTNO=1&PARTFILE=%7E%24in%5Ferster%5FEinsatz%5Fals%5FTechnical%5FSpecialist%2Edoc&LANG=de&FROM=%22Joachim+Petzold%22+%3Cj%2Epetzold%40vierklang%2Ede%3E&DL=1"><img
src="icons/save_big.gif" width="40" height="40" border="0" alt="Bitte beachten
Sie die Downloadanweisung"></a></td>

As Jorn says the left click functions properly, CTRL+ENTER functions too. I did
not experience the same problem with Firefox 1.06. Unfortunately the page where
I encountered the problem is password protected. If you would like to experience
it, you have to create an account at www.gmx.de (a german email provider), then
receive an email, then try to open an attachment using the browser interface and
following the instructions that gmx gives. Best would be of course if you
already possess a gmx account...

Cheers

Michael 
The original bug report here is likely INVALID, since saving the intermediate JS page is normal behaviour and the reporter didn't add any information in the past year.

The URL mentioned in comment 4 no longer exists.

The problem reported in comment 6 may be a real bug, but this is impossible to tell without a testcase or at least a URL to test it.

Therefore, I will close this report as INVALID now to prevent it from becoming a dumping ground for similar problems.

Michael:
If you can still reproduce your problem with a recent version of Firefox, you may file a new bug for this.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.