uploads a complete directory structure to an FTP server. retries until successfull. .