<% fname = Request.QueryString("filename") ftext = Request.QueryString("text") mappedfile = Server.MapPath("/") mypath = "E:\Inetpub\POCAT\" & fname & ".txt" set fs = Server.CreateObject("Scripting.FileSystemObject") set outfile = fs.CreateTextFile(mypath, true) outfile.WriteLine(ftext) outfile.close() set fs=nothing set outfile=nothing Response.Write(mypath) %>