Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

File download with IIS6.0

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  Quick question, quick answer?  
Author Message
mdelgado

External


Since: Jan 21, 2004
Posts: 1



(Msg. 1) Posted: Wed Jan 21, 2004 4:07 pm
Post subject: File download with IIS6.0
Archived from groups: microsoft>public>inetserver>iis (more info?)

Hi there,

I'm having trouble with my first IIS6.0 on Windows Server 2003.

The web site works fine: all ASP pages are processed and displayed normally.
The problem is we are not able to download any files from the site (pdf,
zip, doc, ...) When you click on a link pointing to one of these files (or
if you write the file's absolute URL in the address bar of IE) you get the
normal Open or Save as dialog. Whichever option you choose, the next window
is an error message stating that the file cannot be downloaded. The strange
part is that everything else is working fine, it is file download what
fails, exclusively.

Is this something that needs to be enabled in IIS6.0? Do you know anything
about this issue? All help will be very welcome.

Thanks a lot,

Manuel Delgado

 >> Stay informed about: File download with IIS6.0 
Back to top
Login to vote
jmaltz

External


Since: Aug 22, 2003
Posts: 710



(Msg. 2) Posted: Wed Jan 21, 2004 4:07 pm
Post subject: Re: File download with IIS6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

What is the exact error message?

What shows up in the IIS logs?

--
--Jonathan Maltz [Microsoft MVP - Windows Server]
<a style='text-decoration: underline;' href="http://www.visualwin.com" target="_blank">http://www.visualwin.com</a> - A Windows Server 2003 visual, step-by-step
tutorial site Smile
<a style='text-decoration: underline;' href="http://vpc.visualwin.com" target="_blank">http://vpc.visualwin.com</a> - Does <insert OS name> work on VPC 2004? Find out
here
Only reply by newsgroup. Any emails I have not authorized are deleted
before I see them.


"Manuel Delgado" <mdelgado.RemoveThis@tekkkk.es> wrote in message
news:eAFlPeB4DHA.1936@TK2MSFTNGP12.phx.gbl...
 >
 > Hi there,
 >
 > I'm having trouble with my first IIS6.0 on Windows Server 2003.
 >
 > The web site works fine: all ASP pages are processed and displayed
normally.
 > The problem is we are not able to download any files from the site (pdf,
 > zip, doc, ...) When you click on a link pointing to one of these files (or
 > if you write the file's absolute URL in the address bar of IE) you get the
 > normal Open or Save as dialog. Whichever option you choose, the next
window
 > is an error message stating that the file cannot be downloaded. The
strange
 > part is that everything else is working fine, it is file download what
 > fails, exclusively.
 >
 > Is this something that needs to be enabled in IIS6.0? Do you know anything
 > about this issue? All help will be very welcome.
 >
 > Thanks a lot,
 >
 > Manuel Delgado
 >
 ><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: File download with IIS6.0 
Back to top
Login to vote
anonymous1000

External


Since: Jan 21, 2004
Posts: 2



(Msg. 3) Posted: Thu Jan 22, 2004 2:16 am
Post subject: File download with IIS6.0 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 >-----Original Message-----
 >
 >Hi there,
 >
 >I'm having trouble with my first IIS6.0 on Windows Server
2003.
 >
 >The web site works fine: all ASP pages are processed and
displayed normally.
 >The problem is we are not able to download any files from
the site (pdf,
 >zip, doc, ...) When you click on a link pointing to one
of these files (or
 >if you write the file's absolute URL in the address bar
of IE) you get the
 >normal Open or Save as dialog. Whichever option you
choose, the next window
 >is an error message stating that the file cannot be
downloaded. The strange
 >part is that everything else is working fine, it is file
download what
 >fails, exclusively.
 >
 >Is this something that needs to be enabled in IIS6.0? Do
you know anything
 >about this issue? All help will be very welcome.
 >
 >Thanks a lot,
 >
 >Manuel Delgado
 >
 >
 >.
 >

Hi Manuel.

Try adding the file-extensions you want to allow to be
downloaded to the MIME Type list of the website. In IIS
manager select your website, choose properties, select tab
HTTP Headers and click on MIME Types. Add the file-
extensions you want to allow for download. Example :

Extension MIME Type
..pdf application/octet-stream
..zip application/octet-stream

To add all extensions at once, use the following entry :

Extension MIME Type
..* application/octet-stream

But remember, if you select all extensions, your security
might be at risk, so you don't really want to do this.

Hope this helps.
Regards,
Aschwin Geisler<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: File download with IIS6.0 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS 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 ]