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
DwnRs.fields("DownloadLink") will contains the url from which the file can be downloaded.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
vimal






Bookmarks