Scarborough has asked for the wisdom of the Perl Monks concerning the following question:
command to share the directory and then copy files,it works, but this is not really satisfactory for a number of reasons. Can anyone tell me the best way to achive this in perl?$result = system "net use b: \\\\printserver\\d$ $password /USER:$user +"; #copy the files $result= system "net use b: /DELETE";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Copying files to another server
by ZlR (Chaplain) on Feb 17, 2005 at 16:54 UTC | |
|
Re: Copying files to another server
by holli (Abbot) on Feb 17, 2005 at 16:54 UTC | |
|
Re: Copying files to another server
by Jaap (Curate) on Feb 17, 2005 at 16:42 UTC | |
|
Re: Copying files to another server
by naChoZ (Curate) on Feb 17, 2005 at 18:37 UTC |