Anna_81
08-12-2005, 12:10 AM
Hi,
I am doing a web app in ASP javascript. I am copying certain no. of files from one folder to other, from src to dest. I set different permissions for each file in the src. But after copying to dest all the file acquires the permissions from dest. If I check the file permissions after copying, in the security tab the check box - inherit permissions from parent - is being set automatically and all the files inherits the permissions of the dest folder.
How do I preserve the original file permissions while copying. Please help.
I am doing a web app in ASP javascript. I am copying certain no. of files from one folder to other, from src to dest. I set different permissions for each file in the src. But after copying to dest all the file acquires the permissions from dest. If I check the file permissions after copying, in the security tab the check box - inherit permissions from parent - is being set automatically and all the files inherits the permissions of the dest folder.
How do I preserve the original file permissions while copying. Please help.