in reply to NET::FTP ASCII mode not translating end-of-lines

I have confirmed that this is a bug in Perl 5.8.0. I have submitted it as http://bugs6.perl.org/rt2/Ticket/Display.html?id=21473. As a workaround you can change sysread to read at line 729 of /Perl/lib/Net/FTP.pm.

Receiving in ASCII mode is also broken. A workaround for this is to change lines 481/482 to

my $written = print $loc $buf; unless($written)

Replies are listed 'Best First'.
Re: Re: NET::FTP ASCII mode not translating end-of-lines
by mgibian (Acolyte) on Mar 06, 2003 at 17:23 UTC
    The read workaround did indeed resolve my problem. Thank you VERY much for your help with this.