we are using a professional program/tool to transport files between different servers automatically. There are many files which are not too important, but some files are really important, for example for bank transfers. That program provides the possibility to check the file size of the remote file and of the transferred file. It adds a little bit more security, we can be sure that the files have the same size.
My task is to change the transmission from FTP to SFTP and i use WinSCP to do this. It works fine, but for this very important files it seems that the old way over FTP has a better way to check if the transmitted file is exactly the same. It it is not we get an error and we can check what happened.
I looked in the manual and they wrote the following:
"In distributed systems and especially in remote operations that have a loose coupling of systems, it is difficult to determine whether the file transfer succeeds, fails, or the processing goes on. Our FTP concept provides means to establish proven acknowledgement mechanisms for file transfers in this domain."
Perhaps the SFTP-protocol has some advantages in compare to the FTP-protocol for this specific task. I don't know enough about that. If i could check the file size i would do it, it can't be wrong.
Reply with quote