Compare checksum of two files

Hello,
is it possible to compare the checksum of 2 files in n8n, and if so, how to do it

Thanks for your help

Hi @fporta,

Quickest thing I can think of would be to download the files then use the Execute Command node and run the sha256sum command (or md5sum) passing in the filepath then use the stdout option from both runs to do the check.

1 Like

@jon
Thank you very much I will use your solution

1 Like

Hey @fporta,

Did the solution suggest by @jon work for you? Let us know if you still need help :slight_smile:

2 Likes

I’m sorry I didn’t get back to you, but I’m working on other projects that are overdue. Yes the solution suggest by @jon works

Thank u very much

2 Likes

Thank you for letting us know! :slight_smile: