[freeside-commits] branch FREESIDE_2_3_BRANCH updated. 93c91ea752f539198554da5535c2eda02680eb9a

Ivan ivan at 420.am
Mon Jun 4 01:42:15 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  93c91ea752f539198554da5535c2eda02680eb9a (commit)
      from  06422a407f63b8e2876e0ea8be39c8991d85af57 (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 93c91ea752f539198554da5535c2eda02680eb9a
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Mon Jun 4 01:42:14 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