Link to home
Start Free TrialLog in
Avatar of pcavacas
pcavacas

asked on

Coping a File

   I have a file that I copied to a local machine (under the ASP.NET process), but what I want to do now is make a copy of that file to some other location on the network, but because the current process is on the Web Server it is ASPNET local user, so they don't have access to other places on the network.
    So I need to impersonate another user and then make a copy of the file.
ASKER CERTIFIED SOLUTION
Avatar of wile_e_coyote
wile_e_coyote

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
Avatar of Michel Sakr
impersonate and don't use a domain account but create 2 local accounts on both machines with the credentials (password and username) that have each access rights to the according directory

another possible way is to change the aspnet password to one you know and create a local aspnet account on the remote machine with the same password..
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by wile_e_coyote

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer