[freeside-commits] branch master updated. 77cb9bbd8481e2841034b6275907ec9740715e27
Ivan
ivan at 420.am
Mon Jun 4 01:42:14 PDT 2012
The branch, master has been updated
via 77cb9bbd8481e2841034b6275907ec9740715e27 (commit)
from 0e252ec0538eadf8a9e76b32718161d9844b02c3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 77cb9bbd8481e2841034b6275907ec9740715e27
Author: Ivan Kohler <ivan at freeside.biz>
Date: Mon Jun 4 01:42:13 2012 -0700
passive mode for FTP transfer of invoice spools, RT#17925
diff --git a/FS/FS/Cron/upload.pm b/FS/FS/Cron/upload.pm
index 5fe8131..c266797 100644
--- a/FS/FS/Cron/upload.pm
+++ b/FS/FS/Cron/upload.pm
@@ -231,7 +231,7 @@ sub spool_upload {
my($hostname, $path) = ($1, $2);
- my $ftp = new Net::FTP($hostname)
+ my $ftp = new Net::FTP($hostname, Passive=>1)
or die "can't connect to $hostname: $@\n";
$ftp->login($username, $password)
or die "can't login to $hostname: ". $ftp->message."\n";
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Cron/upload.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
More information about the freeside-commits
mailing list