use passive mode to upload to CollectionHQ
authorGalen Charlton <gmc@esilibrary.com>
Mon, 30 Dec 2013 18:28:50 +0000 (13:28 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 30 Dec 2013 18:28:50 +0000 (13:28 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
collectionHQ/extract.sh

index cf25a32..a9afb44 100755 (executable)
@@ -53,6 +53,7 @@ function format_data {
 function upload_data {
   gzip --best $FILE
   ftp -v -n $FTPSITE <<END_SCRIPT
+passive
 quote USER $FTPUSER
 quote PASS $FTPPASS
 binary