192....is a privat address, this never get to the firewall. It seems that your port 21 is totally blocked. Can you login to your ftp server from the prompt ?? try from shell
#FTP ftp.lforeman.homeip.net #user pass #passive ----- Original Message ----- From: "Foreman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 23, 2002 3:40 PM Subject: problem with Net::FTP and Netgear FVS318 firewall > Hi. I am able to get to my ftp server through Internet explorer if I set the "Use Passive FTP for compatability..." to true in the Internet Options menu. Otherwise, I can only get to my ftp server using the local IP address. Presumably, using passive mode in ftp (pasv) should get me the same result when trying to get to my server through the internet. However, no luck. I have included the ftp code below. If I subsititute the local IP address for the full internet path then the script works, otherwise it hangs (probably because my firewall won't allow access. Any ideas would be appreciated. Thanks, Lincoln > > use Net::FTP; > > #$ftp = Net::FTP->new("192.168.0.10"); # if I uncomment this line and comment the next line the script works. > > $ftp = Net::FTP->new("ftp.lforeman.homeip.net"); > $ftp->login("anonymous","anypassword"); > $ftp->pasv; > $ftp->cwd("/pub"); > $ftp->get("front_porch_outlet.pl"); > $ftp->quit; > > exit; > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]