Download file without extension issue

Discussion in '.NET' started by muntyanu, Jun 19, 2012.

  1. muntyanu

    muntyanu

    Joined:
    Jun 19, 2012
    Messages:
    1
    Hi

    I need to download file that does not have extension. The file itself is a simple plain text file. I do this from code using WebClient object. I also cannot view this file in browser with the same error.The error was 404 - file not found.

    After research I added mime type: .* as application/octet-stream on web server level. Also the file has these permissions:

    NetworkService - full access, ASP.NET - full access. Rebooted machine after making changes.

    Still the same issue.

    Anybody can advise what else to look for?

    Thanks a lot,

    Roman
     
    muntyanu, Jun 19, 2012
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan Taylor
    Replies:
    2
    Views:
    1,025
    Ryan Taylor
    Nov 10, 2004
  2. Sam --
    Replies:
    2
    Views:
    668
    Sam --
    Mar 17, 2005
  3. Nate Hekman
    Replies:
    3
    Views:
    1,599
    Paul Clement
    Jun 23, 2005
  4. Brett  Kelly
    Replies:
    1
    Views:
    724
    Steve C. Orr [MVP, MCSD]
    Jun 16, 2006
  5. Steve
    Replies:
    3
    Views:
    27,113
    Steve
    Aug 25, 2006
Loading...

Share This Page