FileSystemObject Problems

Results 1 to 2 of 2

Thread: FileSystemObject Problems

  1. #1
    Mike Schellhase Guest

    Default FileSystemObject Problems

    i can&#039;t seem to get the FielSystemObject to work on my server. I try to run the following code and the browser just sits there, no errors are returned. I have created appropriate permissions for the IUSR account. I tried running the following code thru WSH and it creates the text file fine, so the FileSystemObject is obviously installed and registered. Any help or suggestions would be appreciated. <BR><BR>Dim fso, MyFile <BR>Set fso = Server.CreateObject("Scripting.FileSystemObject") <BR>Set MyFile = fso.CreateTextFile("c: estfile.txt", True) <BR>MyFile.WriteLine("This is a test.") <BR>MyFile.Close <BR><BR><BR>Thanks, <BR>Mike

  2. #2
    Join Date
    Dec 1969

    Default RE: FileSystemObject Problems

    you probably don&#039;t have permissions on the root folder of the c: drive (and good job too, or you could screw up system files). try writing it to the same directiry as the ASP script instead.

Posting Permissions

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