http://www.perlmonks.org?node_id=831269


in reply to Net:SSH2 connects, but scp_get fails

Sorry for asking what might sound obvious, but have you maybe tried some SFTP client,
just to be sure that access rights are right on the server end ?

Maybe you aren't allowed to read the file, but do have access to the directory that holds it ?


Krambambuli
---
  • Comment on Re: Net:SSH2 connects, but scp_get fails

Replies are listed 'Best First'.
Re^2: Net:SSH2 connects, but scp_get fails
by knc (Initiate) on Mar 26, 2010 at 22:19 UTC

    A valid question -- it's the little things that cause big problems :)

    We have the Ipswitch WS_FTP utility running on the same Windows box. It can see, get, and delete files from the remote directory. So permissions are not the problem. (The configuration uses the same username/pass to connect.)

    I also disconnected WS_FTP and ran the test to make sure I wasn't exceeding some connection-count. That didn't change anything.