kprasanna_79 has asked for the wisdom of the Perl Monks concerning the following question:
I am trying to use Net::Ftp module to connect to another UNIX machine. But i dont see any thing actually happening when i use this module and also i do get the below error...
require 5.6.1; use Net::FTP; my $ftp = Net::FTP->new('ostrich',Debug=>1,Passive=>1) or die "not con +nected $!"; print "connected successfully\n";
Please throw some light on thisThe error is not connected Invalid argument at - line 3.
Recently i notice that it doesnt recognise the hostname. Is it any where i need to mention this hostname to be identified by the Net::Ftp modue?????Like Netrc file or somewhere???
-Prasanna.K
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Question on Net::Ftp..
by runrig (Abbot) on Jan 26, 2009 at 21:11 UTC | |
|
Re: Question on Net::Ftp..
by Illuminatus (Curate) on Jan 26, 2009 at 19:49 UTC | |
|
Re: Question on Net::Ftp..
by hbm (Hermit) on Jan 26, 2009 at 20:08 UTC |