I use an uploader and then compare the name, mimetype and size to ensure there aren’t duplicates in the database… works fine (until the user wants a duplicate… which they eventually did!)