> try something like > > print $buf while (($len = $chan->read($buf,512))||0) > 0);
Thank you for the suggestion. Unfortunately, it get the same error warning Use of uninitialized value in numeric gt (>) at SFTP_test2.pl line 21 _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs