Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    file copying question

    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.

  • #2
    Regular Coder
    Join Date
    Sep 2004
    Posts
    152
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #3
    New to the CF scene
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I am using stright asp.


  •  

    Posting Permissions

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