This is a migrated thread and some comments may be shown as answers.

Hiding the physical path of a file in downloading

1 Answer 120 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Libertad
Top achievements
Rank 1
Libertad asked on 04 Feb 2013, 09:28 PM
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?
Thanks

1 Answer, 1 is accepted

Sort by
0
moegal
Top achievements
Rank 1
answered on 17 Feb 2013, 11:56 AM
there are a variety of articles on this on websites like  c-sharpcorner.com.

Try googling c# asp.net download from server.

Marty


Tags
General Discussions
Asked by
Libertad
Top achievements
Rank 1
Answers by
moegal
Top achievements
Rank 1
Share this question
or