Accesing file type

Is there a way to access the file type, so if i’m using a multifile uploader and i want to create workflows based on the files type, for example: if its a video vs pictures to save differently

Maybe i can write condition: only when current cell’s file’s name contains “MP4”…

But does all mp4 files have an mp4 extension at the end of the name?

And should i write it as MP4 or mp4, is the extension in capital or small?

Use regex a expression to ascertain the file type derived from the file name which is available from the upload element… Then do your workflow condition based on that

Truncated from end to 4, pass that to MIME type plugin and base conditions off the state it outputs.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.