From ba6138a4b87de3c067fe1a07a8db0aa02026ff70 Mon Sep 17 00:00:00 2001 From: Brendan Date: Thu, 21 Mar 2013 08:34:31 -0700 Subject: [PATCH] Bug 7736 EDI Edifact quote and order functionality Adding in Passive per Zenos thoughts and comment #39 --- C4/EDI.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/EDI.pm b/C4/EDI.pm index 0223243..7ff0748 100644 --- a/C4/EDI.pm +++ b/C4/EDI.pm @@ -575,7 +575,7 @@ sub SendEDIOrder { if ($ftpaccount) { # connect to ftp account - my $ftp = Net::FTP->new( $ftpaccount->{host}, Timeout => 10 ) + my $ftp = Net::FTP->new( $ftpaccount->{host}, Passive=> 1, Timeout => 10 ) or $newerr = 1; if ( !$newerr ) { $newerr = 0; -- 1.7.2.5