Hi Bubblers !
This plugin analyses the binary-based (i.e. not text-based) file provided, more specifically its “magic number”, a small code within, to detect in a reliable fashion its extension (such as pdf) and MIME Type (application/pdf).
You can test out our File & Media Type Detector Plugin with the live demo.
Enjoy !
Made with by wise:able
Discover our other Artificial Intelligence-based Plugins
2 Likes
I am not used to APIs and am planning to try cloudconvert API for different file conversions. Would your plugin be necessary to achieve that (detect the file types before executing the conversion)?
@phrase9 I’ve a free plugin https://detect-content-type.bubbleapps.io/version-test for getting the content type using the file suffix - might help you
I use it when you have signed URL’s (eg from Google Cloud Storage) and need to know the content type for file viewing.
1 Like
What if the suffix (extension) is wrong @lindsay_knowcode ?
Hey Bubblers!
This plugin has been updated for return the remote file size - of course without downloading .
Enjoy!
1 Like