Jump to content

file streaming


cyrus71

Recommended Posts

hiI am trying to learn ASP, at W3chools,i came so long that i want to create, read or write a file or check last modified date on files.when i have one of following lines (rows), my script wait and wait for ever, nothing happend,1. set filename=FS.CreateTextFile("c:\test.txt",true)2. Set RS = FS.OpenTextFile(Server.MapPath("text") & "webbhotell.txt",1)3. Set RS=FS.GetFile(Server.MapPath("app1.asp"))4.Set file=FS.OpenTextFile(Server.MapPath("webbhotell.txt"), 1)I have tested with 4 different files and i have tested line by line, when i have one of those 3 line efter Set FS=Server.CreateObject("Scripting.FileSystemObject"), so my script wait and work for ever and nothing happend.i need help

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...