Reputation: 1989
I was wondering of this is possible in Perl
I want to access a network file share (NT) to copy a file using different username and password
This perl script is part of build and will be running in server without any user interaction
Thanks
Karthik
Upvotes: 3
Views: 1878
Reputation: 67087
This post on perlmonks seems to cover that topic: http://www.perlmonks.org/?node_id=491533
Win32::NetResource
has an AddConnection
function that you could pass USERNAME
and PASSWORD
to.
Upvotes: 2