Skip Menu |

This queue is for tickets about the Net-FTP-Common CPAN distribution.

Report information
The Basics
Id: 8292
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Net-FTP-Common

People
Owner: metaperl [...] gmail.com
Requestors: teejay [...] droogs.org
Cc:
AdminCc:

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



Subject: Passive setting in constructor
Please add more notes in the documentation warning that passing 'passive=>1' will not send a PASV message to the server when doing 'Net::FTP->new("some.server.tld", passive=>1);', adding a warning about any keys passed that are not recognised would also be very helpful and save a lot of time. thanks, A.
[guest - Mon Nov 8 11:57:09 2004]: Show quoted text
> Please add more notes in the documentation warning that passing > 'passive=>1' will not send a PASV message to the server when doing > 'Net::FTP->new("some.server.tld", passive=>1);',
The correct call is Passive => 1. In the source for Net::FTP::Common, in the file lib/Net/FTP/Common.pm, there is this: my %netftp_cfg_default = ( Debug => 1, Timeout => 240, Passive => 1 ); and if you look at the test suite you suite PASV being issued repeatedly. Show quoted text
> adding a warning > about any keys passed that are not recognised would also be very > helpful and save a lot of time.
added to TODO section. Show quoted text
> > thanks,
and thank you.