hey, Fastolfe... the script isn't as simple as that, but it might as well be... the script itself is made to remotely log on to dozens of machines, read the permsissions of a dir. of files and change the ones that aren't set correctly... sometimes this means hundreds of files per machine... doing a remsh from the master machine for each file is time and resource heavy... copying a file/script to the machine and excuting it is much quicker and easier for the system... but rcp isn't working, hence my question... OS for all systems involved is HP-UX 10.20... if i simplify the script down to just enough to reproduce the problem, it looks like just what you wrote about... the rest is simply work on the permssions and logging... the script runs perfect except for this one problem... the script has the perl path in it and i run it direct from the command line... ultimately it will be run from crontab (where, i've tried, it still doesn't get rcp to work... sigh... any other way to copy a file remotely in perl?)... thanks for all the help... magnus

In reply to RE: RE: RE: Re: Failure with rcp by magnus
in thread Failure with rcp by magnus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.