Dropzone Filenames

Hi,
I’m having an issue with dropzone file uploads, if the filename contains spaces the file is corrupted after uploading. Is there a way to rename a file on upload or after? or remove/replace spaces with hyphens?

Any help would be appreciated.

I have update the Dropzone example ( example with settings ) to remove spaces.
Basically you need to add a function key that returns the file name:

"renameFile_function": "debugger; return arguments[0].name.replace(/\\s/g, '');"

HTH

1 Like

Thanks Charles, appreciate the reply.

Cheers,
Gareth