Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: Problem with Net::FTP

by cool (Scribe)
on Jul 10, 2007 at 13:24 UTC ( #625816=note: print w/replies, xml ) Need Help??


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

Yes tirwhan,
I tried running it with rpanman's suggestion and pasted the message in reply to his node. Just to inform you, I am working on Linux OS.

Replies are listed 'Best First'.
Re^5: Problem with Net::FTP
by tirwhan (Abbot) on Jul 10, 2007 at 13:29 UTC

    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.
      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??

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://625816]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2020-02-28 19:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (127 votes). Check out past polls.

    Notices?