Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   File Downloads in ASP.NET (http://www.velocityreviews.com/forums/t797564-file-downloads-in-asp-net.html)

Tony 01-09-2005 04:31 PM

File Downloads in ASP.NET
 
Hello
I want to provide the ability to download files from a web page based on
whether a user has paid for the file. I therefore need to hide the URL from
the user.

How do I write code to download a file and hide its URL?
TIA
Tony

Jeff Cochran 01-09-2005 10:33 PM

Re: File Downloads in ASP.NET
 
On Sun, 9 Jan 2005 08:31:05 -0800, "Tony"
<Tony@discussions.microsoft.com> wrote:

>I want to provide the ability to download files from a web page based on
>whether a user has paid for the file. I therefore need to hide the URL from
>the user.
>
>How do I write code to download a file and hide its URL?


This is a Classic ASP forum, the ASP.NET ones are the ones with
"dotnet" in the name. If you wanted to use Classic ASP (and likely in
..NET as well) you could stream the file from outside the web folder
hiearchy. Start with:

http://www.devguru.com/Technologies/...ef/stream.html

Jeff


All times are GMT. The time now is 11:56 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57