Link to home
Start Free TrialLog in
Avatar of john
johnFlag for United States of America

asked on

Copy folders from one web site to another web site on same server, permission problems

Copy  folder list (all files in 20 folders)  from one web site to a many web sites folders on same server.
SQL DB has list. My Program works using asp.net vb EXCEPT:

I get permissions denied.
Using asp.net VB web site in IIS 7.0
I can get to remote desktop. to manage IIS 7.0

I was going to make a virtual folder that contained all web folders for all sites.
But am afraid to give write permissions to the virtual folders. As I think all folders will end up with those permissions outside the web app.
When I gave the virtual folder write/modify permission it took a very long time to set permissions.
Not comfortable with that.

Is there a setting in IIS that would easy allow writing everywhere that could be turned on and off easily?

I'd use vb script but there needs to be SQL db interaction with user checking off folders and web site to copy to.
Power shell? Never tried it,  can I read from SQL query easy ?

thanks for your thoughts.
john
ASKER CERTIFIED SOLUTION
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial