Posted: 2012-10-26 18:28
Hi, I have a quick question
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.
Location: Prague, Czechia
There's no build-in hash function.
You might be able to use call command to execute remote-side command to calculate hash.
You can post new topics in this forum
And it's free!