I need to get a file with a script from a scp server then verify the transfer or file then delete it. I got a script working for the get and delete but could not find any documentation on how to do a verify.
I have these commands for the get and delete part
get -delete /home/file) c:\file
But im wondering is there any way to verify the file transfer was successful before the deletion of the file on the server side? Like a hash function or something.