File download problem using SSL

  • Thread starter Thread starter H Leboeuf
  • Start date Start date
Hello,

PROBLEM: I.E.6 cannot download files when SSL is used.
Server-side: IIS 5.x; ISAPI extension dll that programmatically transmits
files to the client.

Sample client request: "dld.dll?download&id=123&bid=12345".
When using HTTP, it works perfectly. However, when SSL is used, the client
gets an
error:
"Internet Explorer cannot download ...dll?download&id=123&bid=12345 from ...

Internet Explorer was not able to open this Internet site. The requested
site is either unavailable or cannot be found. Please try again later."


There is one difference when SSL is enabled, that seems to be the cause of
the problem. Normally, when download is initiated (user clicks on the link),
I.E. shows a dialog, like:
------------------------------------------------------
[File Download]
....
File name: TestDoc.pdf
File type: Adobe Acrobat Document
From: serverName

Would you like to open the file or save it to your computer?
[Open] [Save] [Cancel] [More Info]
------------------------------------------------------

When SSL is on (the same dll, the same file):
------------------------------------------------------
[File Download]
....
File name: ...dll?download&id=123&bid=1234
File type:
From: serverName

Would you like to open the file or save it to your computer?
[Open] [Save] [Cancel] [More Info]
------------------------------------------------------

It seems I.E. no longer recognizes the file name or the file type.


Myth
 
Thanks, the links helped determining the cause of the problem (SSL +
Cache-control: no-cache header).


H Leboeuf said:
Select "Problems" on this site for some clues.
http://www.colba.net/~hlebo49/downfile.htm

Select PDF for the type or errors.
http://www.colba.net/~hlebo49/files.htm

--

Henri Leboeuf
Web page: http://www.colba.net/~hlebo49/index.htm
===
myth said:
Hello,

PROBLEM: I.E.6 cannot download files when SSL is used.
Server-side: IIS 5.x; ISAPI extension dll that programmatically transmits
files to the client.

Sample client request: "dld.dll?download&id=123&bid=12345".
When using HTTP, it works perfectly. However, when SSL is used, the client
gets an
error:
"Internet Explorer cannot download ...dll?download&id=123&bid=12345 from ...

Internet Explorer was not able to open this Internet site. The requested
site is either unavailable or cannot be found. Please try again later."


There is one difference when SSL is enabled, that seems to be the cause of
the problem. Normally, when download is initiated (user clicks on the link),
I.E. shows a dialog, like:
------------------------------------------------------
[File Download]
....
File name: TestDoc.pdf
File type: Adobe Acrobat Document
From: serverName

Would you like to open the file or save it to your computer?
[Open] [Save] [Cancel] [More Info]
------------------------------------------------------

When SSL is on (the same dll, the same file):
------------------------------------------------------
[File Download]
....
File name: ...dll?download&id=123&bid=1234
File type:
From: serverName

Would you like to open the file or save it to your computer?
[Open] [Save] [Cancel] [More Info]
------------------------------------------------------

It seems I.E. no longer recognizes the file name or the file type.


Myth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top