You cannot access the client's file system using the FileSystemObject in your ASP code

http://p2p.wrox.com/topic.asp?TOPIC_ID=587

What kind of permission are you trying to propagate? FSO can be used to copy contents from one place to another, provided that you have enough permissions to access both the source and destination. But if that permission contradicts to the usage of FSO, then you cannot access those files/folder at all.

Just taken from a website
ASP pages reside and are executed on the web server, when using FSO to access the file system, you are accessing the web server's file system. You cannot access the client's file system using the FileSystemObject in your ASP code.

One important thing to keep in mind when using the FileSystemObject is permissions! In Windows NT, there are three types of permissions: Read, Write, and Full Access. Whenever an ASP page attempts to execute some file system command using FSO, the anonymous web user ID is used: IUSR_machinename (i.e., if your webserver is named Bob, the user ID is IUSR_Bob). If IUSR_machinename doesn't have permissions to Read for a particular directory, you cannot use FSO to read the contents of a file in that directory through an ASP page. If IUSR_machinename doesn't have permissions to Write for a particular directory, you cannot use FSO to write a file to that directory through an ASP page. If IUSR_machinename doesn't have Full Access permissions for a particular directory, you cannot use FSO to delete or move a file from that directory through an ASP page.


Read this link, not sure if this helps you in a way.
How To Use ADSI to Set Automatic Inheritance of File/Folder Permissions

Cheers!

_________________________
- Vijay G
Strive for Perfection
原文地址:https://www.cnblogs.com/cy163/p/276416.html