Sep 22, 2011, 4:15 AM
Re: [Gus] Problem with Net::SFTP::Foreign
I am using the module Net::SFTP::Foreign (v 1.67)...
main::(download-sftp-test.pl:35): $sftp->mget('*', $indir) or die "mget filed: " . $sftp->error;
Use of uninitialized value $size in numeric eq (==) at C:/Perl/site/lib/Net/SFTP/Foreign.pm line 1561.
at C:/Perl/site/lib/Net/SFTP/Foreign.pm line 1561
Looking at the module source I can not see how that error can happen at that line when using version 1.67.
Can you run on the debugger...
...to ensure that you are actually using that version.
Or have you changed the module yourself? (this may look like a silly question, but it has happened to me on the past, some user changing the module and then filling a bug report because it didn't worked!, so I have to ask :-)
Do you know with software and version is running on the remote side?
(This post was edited by salva on Sep 22, 2011, 4:17 AM)