in reply to Re^4: Problem with Net::FTP
in thread Problem with Net::FTP

Right. You also need to set the proxy port (since it appears to use the common HTTP proxy port), so try changing that to

my $ftp=Net::FTP->new(Host => "ftp.cpan.org", Firewall => "XXXX:3128")

All dogma is stupid.

Replies are listed 'Best First'.
Re^6: Problem with Net::FTP
by cool (Scribe) on Jul 10, 2007 at 13:44 UTC
    Now I run it adding port no. also.
    my $ftp=Net::FTP->new("ftp.cpan.org", Firewall => "XXXX:3128", +Debug => 1)
    It is showing following messages.
    Net::FTP>>> Net::FTP(2.75) Net::FTP>>> Exporter(5.58) Net::FTP>>> Net::Cmd(2.26) Net::FTP>>> IO::Socket::INET(1.27) Net::FTP>>> IO::Socket(1.28) Net::FTP>>> IO::Handle(1.24) Net::FTP=GLOB(0x941b400): Timeout at ftp1.pl line 4 Couldnt connect:

    Can you, please suggest anything??