FTP connection max retries

This commit is contained in:
Vladimir Yakovlev 2020-03-28 00:50:40 +03:00
parent 022ff94a9c
commit 892aad0721

View File

@ -56,6 +56,7 @@ lftp -e "set xfer:log 1; \
set ftp:ssl-protect-data $PLUGIN_SECURE; \
set ssl:verify-certificate $PLUGIN_VERIFY; \
set ssl:check-hostname $PLUGIN_VERIFY; \
set net:max-retries 3; \
$PLUGIN_CLEAN_DIR; \
mirror --verbose $PLUGIN_CHMOD -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" \
-u $FTP_USERNAME,$FTP_PASSWORD $PLUGIN_HOSTNAME