1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-01 13:24:25 +01:00

Use passive, not active FTP.

This commit is contained in:
David Anderson 2011-06-29 15:07:21 -07:00
parent d2426e2dee
commit 243362da62

View File

@ -75,7 +75,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)