Hello Morbus and Chris,

Thank you for your prompt reply.

I checked my System Preferences > Sharing > Firewall: it was "On"; then I checked my System Preferences > Network > Built-in Ethernet > Proxies: Use Passive FTP Mode (PASV) was checked... So it seems that checking this option is not enough to make my Perl scripts work (by the way, I am not sure if the Firewall was "On" on my Panther system...).

I tried to put System Preferences > Sharing > Firewall "Off", and run my Perl scripts: they seem to work without problem...

Now, I am wondering if it is really necessary to set my Firewall "On" on a machine such as mine: it is connected to Internet permanently by the optical fiber, but it runs no server at all, and I use it strictly for my personal work...

On the other hand, command line tools like curl or lftp work without problem even if the Firewall is "On".

And perhaps adding "Passive => 0" to my "Net::FTP->new" line (like the following line...:

$ftp = Net::FTP->new($domain, Debug => 0, Passive => 0)

) would solve the problem?  I quote the man page of Net::FTP:

Passive - If set to a non-zero value then all data transfers will
be done using passive mode. This is not usually required except for some dumb servers, and some firewall configurations. This can also
           be set by the environment variable "FTP_PASSIVE".

Anyway, I really don't know anything about the networking issues. Your help is greatly appreciated.

Thank you in advance for further assitance.

Best regards,

Nobumi Iyanaga
Tokyo,
Japan




Reply via email to