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