Hiding the physical path of a file in downloading

2 posts, 0 answers
  1. Libertad
    Libertad avatar
    53 posts
    Member since:
    Sep 2008

    Posted 04 Feb 2013 Link to this post

    I want to let some users download some files from my website and I don't want them to see the physical path of the downloading file.
    I moved the files in a folder outside of my web folder and use Response.WriteFile(filePath) to download them. this help me to hide the path but this method doesn't support resume download which I really want it.
    So what method you recommend I use?
  2. moegal
    moegal avatar
    278 posts
    Member since:
    Jul 2007

    Posted 17 Feb 2013 Link to this post

    there are a variety of articles on this on websites like  c-sharpcorner.com.

    Try googling c# asp.net download from server.


Back to Top