Text File

Results 1 to 2 of 2

Thread: Text File

  1. #1
    Join Date
    Dec 1969

    Default Text File

    I used the following code in my asp page, but it just keep loading the page....can&#039;t even stop the loading... can anyone help? thanks<BR><BR>filePath=Server.MapPath("..Uploadpub lic\"& session("User") &" "& request.form("fileN") &"")<BR>Set fs = CreateObject("Scripting.FileSystemObject")<BR> If Not fs.FileExists(filePath) Then<BR> Set a = fs.CreateTextFile(filePath, True)<BR> a.writeline ("schoolname")<BR> a.writeline ("testtitle")<BR> a.writeline ("creator")<BR> a.writeline ("filecontent")<BR> a.Close <BR> Set a = Nothing<BR> end if<BR> Set fs = Nothing<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Text File

    check this, it does something real similiar to what you are trying to do.<BR><BR>http://askasp.com/articles.asp?ArtID=95

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts