CC: | "Riha, Jozef" <Jozef.RIHA [...] firstdata.com> |
Subject: | Can't call method "perm" on an undefined value at Net/../Net/SFTP/Foreign/Common.pm line 272. |
Date: | Mon, 6 Nov 2017 08:30:18 +0000 |
To: | "bug-Net-SFTP [...] rt.cpan.org" <bug-Net-SFTP [...] rt.cpan.org> |
From: | "Roeder, Andreas" <Andreas.Roeder [...] firstdata.de> |
Hi there,
When we call:
$sftp = Net::SFTP::Foreign->new(host => $host, user => $user, port => $port, key_path => $keyfile);
$sftp->rput($sourcepath, $targetpath)
We see from time to time this error:
Can't call method "perm" on an undefined value at Net/../Net/SFTP/Foreign/Common.pm line 272.
But when we run it again, everything is fine. What could be the reason for that?
Thank you very much in advance!
Best Regards,
Andreas