> --------------------------------8<----------------------------
>
>       open (REMOTE, "172.24.177.43:/d$/PsExec_Usage_Line.txt") or die $!;
>
> -----------------------------8<------------------------

the error is most likely from your file path. I havent looked at 
File::Remote, but if all youre after is a copy then File::Copy is a 
safer bet:-


use strict;
use warnings;
use File::Copy;
use Fatal qw(copy);

my $remote_file = "\\\\172.24.177.43\\d\$\\PsExec_Usage_Line.txt";

copy($remote_file, "C:\\Temp");



Just in
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to