Go Back   CodingForums.com > :: Server side development > ASP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-12-2005, 12:10 AM   PM User | #1
Anna_81
New to the CF scene

 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Anna_81 is an unknown quantity at this point
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.
Anna_81 is offline   Reply With Quote
Old 08-12-2005, 04:04 PM   PM User | #2
neocool00
Regular Coder

 
Join Date: Sep 2004
Posts: 152
Thanks: 0
Thanked 0 Times in 0 Posts
neocool00 is an unknown quantity at this point
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.
neocool00 is offline   Reply With Quote
Old 08-12-2005, 09:36 PM   PM User | #3
Anna_81
New to the CF scene

 
Join Date: Aug 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Anna_81 is an unknown quantity at this point
I am using stright asp.
Anna_81 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:39 AM.


Advertisement
Log in to turn off these ads.