I have updated to the latest version of Net::SFTP 0.09, also updating Net::SSH::Perl to 1.28. This includes any prerequisites needed for succesful builds & test. I configured Net::SSH::Perl with both SSH1 & SSH2 and using Blowfish for encrytion.
When I issue the following commands:
%args = (user => $serverId, password => $serverPass);
$sftp = Net::SFTP->new($serverName, %args);
with $serverId & $serverPass defined,
I get:
Permission denied at /usr/local/lib/perl5/site_perl/5.8.7/Net/SFTP.pm
+line 62
I can login successfully to sftp via command line.
Any clues would be helpful.
Thanks in advance.