Jump to content
Sign in to follow this  
cyrus71

file streaming

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...