FileSystemObject and Permissions

Results 1 to 2 of 2

Thread: FileSystemObject and Permissions

  1. #1
    Join Date
    Dec 1969

    Default FileSystemObject and Permissions

    I have created a site on a TEST directory and everything worked great. Now that I moved it to the root the page I created to Write a file doesn&#039;t work because the Host doesn&#039;t allow anonymous Write access to the root. Does anyone know how I can make this work by adding a username and password to Set filetxt = filesys.CreateTextFile since the Host is relunctant to allow anonymous Write access on the root? <BR><BR>Set filesys = CreateObject("Scripting.FileSystemObject")<BR><BR> Set filetxt = filesys.CreateTextFile("c:inetpubharwoodinc.comHW_ " & templatename & "", True) <BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: FileSystemObject and Permissions

    You need read/write permissions for the directory that the code runs in. Period.<BR><BR>If they don&#039;t allow it in the root, which is a good idea b the way, move it.

Posting Permissions

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