Comparison of FTP upload and download differences I have asked you about the content. here I have many Upload terminals that Upload code to the server separately. in order to avoid repeated modification and file replacement, how to replace and add different files
For more information. Except version control!
Reply to discussion (solution)
Set a global variable to record the increasing number of uploads within a certain period of time. upload to a temporary folder and make a copy. based on the global variable count, read all files and generate a final file, A rough method
If the file name is the same, the system automatically reminds you whether to overwrite the file.
Best solution to the difference: md5_file
Others... Downstairs.
Many ftp software now have synchronization functions
If the file name is the same, the system automatically reminds you whether to overwrite the file. Automatic coverage is fine. Now, it's time to upload files more than once!
Many ftp software have different synchronization functions?
Many ftp software have different synchronization functions?
Ftp synchronization is relatively weak. if you want to compare files, it is equivalent to downloading all files to the local hash once, because the server does not have the file hash data to be compared, therefore, ftp generally only compares the number of bytes with the timestamp.
Many ftp software have different synchronization functions?
Ftp synchronization is relatively weak. if you want to compare files, it is equivalent to downloading all files to the local hash once, because the server does not have the file hash data to be compared, therefore, ftp generally only compares the number of bytes with the timestamp. I will try again. Thank you!
We recommend a good Beyond Compare software.