Thanks but now I'm almost as perplexed as before.

cp: cannot stat `/export/home/xorl/websterproject/xferlist.txt': No such file or directory

Thinking I might need to tell it to look on the remote box I tried $scp->scp("10.33.1.75:/export/home/xorl/websterproject/xferlist.txt", "/tmp/websterproject_xfer.txt"); and I got

Warning: something's wrong at ./getxfers.pl line 7. (which is the scp line)

I then tried using the alternate $scp->get() syntax and got same something's wrong warning :(

Now just to be sure I ssh'ed to the remote box and made sure the file exists, stat showed that the file exists with 644 permissions and my Uid and Gid.

Now I have more information than before, but I feel more lost in the dark than ever. *sigh*

Can anyone shed some light on this? Thanks again


In reply to Re^2: How do I debug a problem with Net:SSH by xorl
in thread How do I debug a problem with Net:SSH by xorl

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.