I am uploading some files in a tree structure, I need to verify if the file already exists in the same folder.
If it is the same file (with the same content) then do nothing.
If it is a different file then save a new version.
How can I compare those files?
Blobs inputBlobs = new Blobs();
inputBlobs.add(file1);
inputBlobs.add(file2);
inputBlobs.add(file3);
nuxeoClient.automation().newRequest("Blob.AttachOnDocument").param("xpath", "files:files").param("document", doc).input(inputBlobs).execute();