permission denied when coping

Results 1 to 2 of 2

Thread: permission denied when coping

  1. #1
    Join Date
    Dec 1969

    Default permission denied when coping

    i&#039;m using the filesystemobject and trying to copy files, but i&#039;m getting a permission denied error. here&#039;s the part of my script with the code:<BR><BR>Dim f2<BR>Dim fso<BR>set fso = Server.CreateObject("Scripting.FileSystemObject")< BR>Set f2 = fso.GetFile(tcatdir)<BR>f2.Copy(tcatdircopy)<BR>Se t f2 = nothing<BR> <BR>Set fso = nothing<BR><BR><BR>tcatdir being the directory to the file that needs to be copied and tcatdircopy being the path where to copy it too. <BR><BR>here&#039;s the error:<BR>Error Type:<BR>Microsoft VBScript runtime (0x800A0046)<BR>Permission denied<BR><BR>I gave the iuser_machinename read permissions on this directory and even tested write permisions, but no luck.

  2. #2
    Join Date
    Dec 1969

    Default RE: permission denied when coping

    Give the directory admin priv&#039;s and if it works work your way down...<BR><BR>

Posting Permissions

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