Permission denied when copying a file 
Author Message
 Permission denied when copying a file

The code contains
set fso = Server.CreateObject("scripting.filesystemobject")

and then when I do
fso.CopyFile(sourcefile,destinationfile)

I get an error PERMISSION DENIED

If anyone had a similar error please help.



Mon, 27 May 2002 03:00:00 GMT  
 Permission denied when copying a file

Either

1) It a true NT permissions error
2) The destinationfile is "in use"
3) The destinationfile is marked read-only

--
Michael Harris

  The code contains
  set fso = Server.CreateObject("scripting.filesystemobject")

  and then when I do
  fso.CopyFile(sourcefile,destinationfile)

  I get an error PERMISSION DENIED

  If anyone had a similar error please help.



Mon, 27 May 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Permission Denied when copying a file to the SendTo folder

2. File copying -- Permission denied

3. Copy file over network : Permission Denied

4. Getting Permission Denied error, using FSO.Copy or InUse.exe

5. Permission Denied Error On objFile.Copy

6. deleting files with file system object ( Permission denied error )

7. Permission denied getting file from server

8. File corruption and permission denied error with backup script

9. access denied when trying to copy a file

10. copying files and I get acces denied...

11. Trouble Using ADSI To Copy File Permissions

12. Copy file permission

 

 
Powered by phpBB® Forum Software