uploadFile() use existing file option?

Is there an option when using uploadFile() to create images to accept an existing image in the same way that the editor offers? I’m bulk uploading records and this would save me creating duplicates

Hello @jack1

You can check the assets md5 generated signature, and compare it to see if it already exists in your asset area, if it does you can skip the upload. This is how its done in the editor, and can be done programatically as well using the uploadFile call

Thanks :+1:

1 Like