Skip to Content
0
Former Member
Nov 28, 2011 at 03:46 PM

Duplicate file check

476 Views

Hello

I have been asked to investigate methods of preventing a file being submitted to PI multiple times. The files are picked up by an NFS file adapter.

We are already making checks on filenames. However, this still allows a file to be submitted multiple times if the file name is changed.

The solution to this might be to take a hash of the file contents and compare against previous files. However, this would be a significant load on the PI server.

Has anyone got any suggestions on an efficient way to prevent duplicate files being submitted?

Kind regards

Steve