Fix ftp upload script