View Full Version : file copying question

08-12-2005, 12:10 AM
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.

08-12-2005, 04:04 PM
What are you using to copy the files? COM+ or straight asp? I'm not sure you can preserve the permissions of the original file after a copy, but if you are using some kind of COM+ object to do this, then it may have an option to preserve permissions.

08-12-2005, 09:36 PM
I am using stright asp.