in reply to Failure with rcp
I've just tried this:
#!/usr/bin/perl -w use strict; my ($Local, $Remote); $Local = q!localfile!; $Remote = q!user@host:dir!; system("rcp $Local $Remote"); exit(0);
and it works, copying the localfile in all it's pride and beauty.
The obvious difference is, that dir is below users $HOME and not an absolute path. But it works also -- just tested -- for $Remote = q!user@host:/tmp!;
The local system is an old Linux-box -- kernel 2.0.34 -- and the remote system is a RS/6000, runnig AIX 4.something.
vim
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Failure with rcp
by jptxs (Curate) on Nov 19, 2000 at 07:27 UTC | |
|
RE: Re: Failure with rcp
by magnus (Pilgrim) on Oct 27, 2000 at 17:49 UTC | |
by Fastolfe (Vicar) on Oct 27, 2000 at 19:13 UTC |