FTP: copy, check integrity and delete
问题 I am looking for a way to connect to a remote server with ftp or lftp and make sure the following steps: Copy files from FTP server to my local machine. Check if the downloaded files are fine (i.e. md5checksum). If the download was fine then delete the downloaded files from the FTP server. This routine will be executed each day from my local machine. What would be the best option to do this? Is there a tool that makes abstraction of all the 3 steps ? I am running Linux on both client and