in reply to Re: How do I debug a problem with Net:SSH
in thread How do I debug a problem with Net:SSH

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