I need to use mkdir on a network path, which is on a different domain. I can login into the network properly, however nant is not able to. I setup a network drive on the system where nant runs, however it still cant access it. Does anybody know how to achieve this?
+1
A:
Mount the shared folder with valid credentials:
net use J: \\servername\share password /user:username
Copy files to J: like you normally would.
When your all done disconnect the mapped drive.
net use J: /d
KyleLanser
2009-10-20 16:12:51
But then I would have to disclose my password? Besides that I created the shared folder manually using my credentials and told it to save them.
vikasde
2009-10-20 16:15:33
yes you would need to store a password in the nant script, the shared folder could be setup with any network account, so making a seperate account for this might be an option.
KyleLanser
2009-10-20 16:27:49