Use active, not passive FTP.

This commit is contained in:
David Anderson 2011-06-29 16:05:18 -07:00
parent ee1bbd5994
commit a752d220cc

View File

@ -75,7 +75,7 @@ $ftp_path .= "/$major.$minor";
my ($ftp); my ($ftp);
$ftp = Net::FTP->new($ftp_host, Debug => 0) $ftp = Net::FTP->new($ftp_host, Debug => 0, Passive => 0)
or die "Cannot connect to host $ftp_host: $@"; or die "Cannot connect to host $ftp_host: $@";
$ftp->login($ftp_user, $ftp_pass) $ftp->login($ftp_user, $ftp_pass)