469,284 Members | 2,485 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,284 developers. It's quick & easy.

Accessing/Dowloading certain filetypes...

Running IIS 6, Classic ASP
Browser: IE and/or Mozilla

I have an application that allows users to store documents on my server.
When they need to access/download the documents, my application copies their
document to a staging directory (because they're renamed to a unique filename
for storage), then Respons.redirect()'ed to the staged file for download.

This works great for most files(.doc,.xls,.psd,.pdf). However, I have
discovered that for certain filetypes (.asp, .exe, .xfdl), the user gets a
message box with the message "Internet Explorer cannot download myfile.xfdl
from www.mysite.com. Internet Explorer was unable to open this Internet
site. The requested site is either unavailable or cannot be found. Please
try again later."

I have looked on the server, and the file is actually there. IIS just will
not let the user access/download it.

Mozilla downloads an htm page with a "page cannot be found" error.

Any thoughts? I have the directory established as its own application and
set not to execute anything -- so it shouldn't be confusing it with a
script/app.

Thank you all,

Brandon
Nov 22 '05 #1
2 3069
I have the same problem with pst and WordPerfect files (I know, I'm sorry,
but the customer uses it).

All other downloads work fine. I would prefer for the "Open/Save/Cancel"
window to come open, but all I get is "Page not found" errors. Like you I
know the document is there and I can type in the URL for the Word document
right next to it that document appears no problem.

I'll post back if I find anything,
Randy

"Brandon" wrote:
Running IIS 6, Classic ASP
Browser: IE and/or Mozilla

I have an application that allows users to store documents on my server.
When they need to access/download the documents, my application copies their
document to a staging directory (because they're renamed to a unique filename
for storage), then Respons.redirect()'ed to the staged file for download.

This works great for most files(.doc,.xls,.psd,.pdf). However, I have
discovered that for certain filetypes (.asp, .exe, .xfdl), the user gets a
message box with the message "Internet Explorer cannot download myfile.xfdl
from www.mysite.com. Internet Explorer was unable to open this Internet
site. The requested site is either unavailable or cannot be found. Please
try again later."

I have looked on the server, and the file is actually there. IIS just will
not let the user access/download it.

Mozilla downloads an htm page with a "page cannot be found" error.

Any thoughts? I have the directory established as its own application and
set not to execute anything -- so it shouldn't be confusing it with a
script/app.

Thank you all,

Brandon

Jan 18 '06 #2
It's probably because it's an unknown MIME type. You'll need to add it
manually in the website properties->HTTP Headers->MIME Types window.

Jevon
"Randy" <Ra***@discussions.microsoft.com> wrote in message
news:1F**********************************@microsof t.com...
I have the same problem with pst and WordPerfect files (I know, I'm sorry,
but the customer uses it).

All other downloads work fine. I would prefer for the "Open/Save/Cancel"
window to come open, but all I get is "Page not found" errors. Like you I
know the document is there and I can type in the URL for the Word document
right next to it that document appears no problem.

I'll post back if I find anything,
Randy

"Brandon" wrote:
Running IIS 6, Classic ASP
Browser: IE and/or Mozilla

I have an application that allows users to store documents on my server.
When they need to access/download the documents, my application copies
their
document to a staging directory (because they're renamed to a unique
filename
for storage), then Respons.redirect()'ed to the staged file for download.

This works great for most files(.doc,.xls,.psd,.pdf). However, I have
discovered that for certain filetypes (.asp, .exe, .xfdl), the user gets
a
message box with the message "Internet Explorer cannot download
myfile.xfdl
from www.mysite.com. Internet Explorer was unable to open this Internet
site. The requested site is either unavailable or cannot be found.
Please
try again later."

I have looked on the server, and the file is actually there. IIS just
will
not let the user access/download it.

Mozilla downloads an htm page with a "page cannot be found" error.

Any thoughts? I have the directory established as its own application
and
set not to execute anything -- so it shouldn't be confusing it with a
script/app.

Thank you all,

Brandon

Jan 18 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Jakob Bengtsson | last post: by
1 post views Thread by Justin Straube | last post: by
13 posts views Thread by lupher cypher | last post: by
1 post views Thread by Daniel | last post: by
3 posts views Thread by Michael Iantosca | last post: by
13 posts views Thread by Joseph Garvin | last post: by
8 posts views Thread by GaryDean | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.