Skip Menu |

This queue is for tickets about the Socket CPAN distribution.

Report information
The Basics
Id: 30358
Status: rejected
Priority: 0/
Queue: Socket

People
Owner: Nobody in particular
Requestors: serg4444 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.5
Fixed in: (no value)



Subject: Net-FTPSSL don't work correctly with .message
When on a ftp server i have file .message, FTPSSL.pm return errors: ---------------------------------------------------------- Show quoted text
>>> USER serg
<<< 331 Please specify the password. Show quoted text
>>> PASS orion
<<< 230- Welcome to the another server! Show quoted text
>>> CWD /pub
<<< 230- Some words. Show quoted text
>>> PBSZ 0
<<< 230- Some words. Show quoted text
>>> PROT P
<<< 230- Some words. Show quoted text
>>> PASV
<<< 230 Login successful. Use of uninitialized value in print at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 140. Use of uninitialized value in split at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 141. Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 143. Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 143. Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 143. Use of uninitialized value in join or string at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 143. Use of uninitialized value in multiplication (*) at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 144. Use of uninitialized value in addition (+) at /usr/lib/perl5/site_perl/5.8.8/Net/FTPSSL.pm line 144. Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Socket.pm line 373. --------------------------------------------------------------- When I delete file .message, all work correctly. I think, parser don't understand multiple messages 230 .... and can not find 227 Entering Passive Mode (d+,d+,d+,d+,d+,d+).
On Tue Oct 30 05:30:16 2007, serg4444 wrote: Show quoted text
> When on a ftp server i have file .message, FTPSSL.pm return errors: > ----------------------------------------------------------
... Show quoted text
> Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4
at Show quoted text
> /usr/lib/perl5/5.8.8/i386-linux-thread-multi/Socket.pm line 373. > > --------------------------------------------------------------- > > When I delete file .message, all work correctly. > I think, parser don't understand multiple messages 230 .... > and can not find 227 Entering Passive Mode (d+,d+,d+,d+,d+,d+).
I'm afraid I don't see what this has to do with Socket. While the last message there does come from Socket.pm, that is simply Socket complaining that its caller passed undef as an argument to one of its functions. I suspect you want to investigate Net::FTPSSL instead. -- Paul Evans