EDI pusher always uses passive FTP
authorBill Erickson <berickxx@gmail.com>
Thu, 15 Jun 2017 19:08:30 +0000 (15:08 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/support-scripts/edi_pusher.pl

index e94abb8..325f32c 100755 (executable)
@@ -26,6 +26,9 @@ use OpenILS::Application::AppUtils;
 use OpenILS::Application::Acq::EDI;
 use OpenSRF::Utils::Logger q/$logger/;
 
+# Force passive FTP so we don't have to keep setting it manually.
+$ENV{FTP_PASSIVE} = 1;
+
 INIT {
     $debug = 1;
 }