Recently with the need of work, want to download something from the remote FTP server, the basic functionality is implemented, there is a problem, script performs a 5 minutes now, every time they perform the required file to download again, how can I download the latest files, each time there is no need to download the latest file, answers
CodePudding user response:
Can try to check md5
CodePudding user response:
Check the md5?
CodePudding user response:
CodePudding user response:
Using MD5 authentication, after receiving the file calculated MD5 compared with the calculated MD5 value in advance, consistent means that the file is the same, just download