mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-15 06:25:05 +00:00
Adding quotes around username and password
Per lftp documentation
This commit is contained in:
parent
37d8e9ed28
commit
2402366393
@ -19,7 +19,7 @@ fi;
|
||||
echo "Using $WDEFAULT_METHOD to connect to port $WDEFAULT_PORT"
|
||||
|
||||
echo "Uploading files..."
|
||||
lftp $WDEFAULT_METHOD://$FTP_SERVER:$WDEFAULT_PORT -u $FTP_USERNAME,$FTP_PASSWORD -e "set ftp:ssl-allow no; mirror $WDEFAULT_ARGS -R $WDEFAULT_LOCAL_DIR $WDEFAULT_REMOTE_DIR; quit"
|
||||
lftp $WDEFAULT_METHOD://$FTP_SERVER:$WDEFAULT_PORT -u "$FTP_USERNAME","$FTP_PASSWORD" -e "set ftp:ssl-allow no; mirror $WDEFAULT_ARGS -R $WDEFAULT_LOCAL_DIR $WDEFAULT_REMOTE_DIR; quit"
|
||||
|
||||
echo "FTP Deploy Complete"
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user