in reply to accessing remote file with rsh
You seem to be confused.
http://lcla238.lss.emc.com/nightly_results/2010_03_19/log_lcla133.lss. +emc.com_64___TestSuiteDARE_Prod_MpaaPseudoIBM_AIX__3_19.html
is not something that cp understands, usually. Maybe you want to use LWP::Simple to fetch a file via http://? Or maybe you want to use rcp or scp to copy the file from the remote machine to your local machine? I've used the following to read a file on a remote machine as if it were a local file:
open my $remote, "ssh $machine cat '$remote_filename'|" or die "Couldn't read $machine:$remote_filename: $!/$?";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: accessing remote file with rsh
by siddheshsawant (Sexton) on Mar 22, 2010 at 18:31 UTC | |
by Corion (Patriarch) on Mar 22, 2010 at 18:47 UTC |