SitePoint Sponsor |
|
User Tag List
Results 1 to 10 of 10
Thread: File Download Issue -Urgent plz
Threaded View
-
May 1, 2005, 17:00 #1
- Join Date
- Jun 2004
- Location
- germany
- Posts
- 263
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
File Download Issue -Urgent plz
Hello
I have a requirment where i should provide link to user to download certain files.
I want to hide the information from the user the link details.
So i use FSO like this but it gave error plz let me know what i am doing wrong
Set oFS = Server.CreateObject("Scripting.FileSystemObject")
Set oStream = Server.CreateObject("ADODB.Stream")
oStream.Open
oStream.Type = 1
oStream.LoadFromFile DwnRs.fields("DownloadLink")
response.contenttype = "application/binary"
response.binarywrite oStream.read
it can be any url irrespective of the server in which the asp page resides.
eg DwnRs.fields("DownloadLink")=http://www.sitepoint.com/helpneeded.exe
thanks in advance
with regards
vimalKnowledge is all about Sharing
Bookmarks