Use active, not passive FTP.

This commit is contained in:
David Anderson 2011-06-29 15:19:13 -07:00
parent 0bfe9c8085
commit db4076262a

View File

@ -69,7 +69,7 @@ $ftp_path .= "/$major.$minor";
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: $@";
$ftp->login($ftp_user, $ftp_pass)