1 2 3 4 5 6 7
#!/bin/bash cd $(dirname $0) cd ../output lftp << EOF open -u ${LIGA_FTP_USER},${LIGA_FTP_PASS} ${LIGA_FTP_HOST} mirror -R . ${LIGA_PLAYOFF_FTP_PATH} EOF