Try again with another command syntax, sigh...
This commit is contained in:
parent
e10f8ebc29
commit
d082be6fb1
@ -34,4 +34,4 @@ for i in "${in_arr[@]}"; do
|
|||||||
PLUGIN_INCLUDE_STR="$PLUGIN_INCLUDE_STR -x $i"
|
PLUGIN_INCLUDE_STR="$PLUGIN_INCLUDE_STR -x $i"
|
||||||
done
|
done
|
||||||
|
|
||||||
lftp -c "open ftp://$PLUGIN_USERNAME:$FTP_PASSWORD@$PLUGIN_HOSTNAME; set ftp:ssl-force $PLUGIN_SECURE; set ftp:ssl-protect-data $PLUGIN_SECURE; mirror -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR"
|
lftp -e "set ftp:ssl-force $PLUGIN_SECURE; set ftp:ssl-protect-data $PLUGIN_SECURE; mirror -R $PLUGIN_INCLUDE_STR $PLUGIN_EXCLUDE_STR $(pwd)$PLUGIN_SRC_DIR $PLUGIN_DEST_DIR" -u $PLUGIN_USERNAME,$FTP_PASSWORD $PLUGIN_HOSTNAME
|
||||||
|
Loading…
Reference in New Issue
Block a user