Whats Wrong With That Script :
Dim File, Name, fso, f, Str
File = Request.QueryString("File")
Name = Request.QueryString("Name")
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(File)
Str = f.ReadAll
Response.ContentType = "application/unknown"
Response.addHeader "content-disposition","attachment;filename=" & Name
Response.BinaryWrite(Str)
Quote:
> http://www.infinitemonkeys.ws/infinitemonkeys/articles/asp/936.asp
> Atrax - MVP [Microsoft Most Valued Professional]
> http://www.infinitemonkeys.ws/
> Host with me for $100 a year!
> http://www.atrax.ws/hosting/
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!