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
In reply to Re: Failure with rcp
by vim
in thread Failure with rcp
by magnus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |