Created on 06 November 2018
icon_unfollowing
Login to follow
content-type

Content Type

Stable version 1.0.1 (Compatible with OutSystems 11)
Other versions available for 10
Uploaded on 22 December 2022 by 
content-type

Content Type

Details
Simple Server Action for identifying the Content Type of a given file name. Uses the MIME registry database installed on the server and a list of preset types.
Read more

This Server Action returns a Content Type that corresponds to the given file name. It uses the Windows Registry and a preset list of file extensions. If no corresponding type is found, "application/octet-stream" is returned.

Release notes (1.0.1)
  • Changed application type to Service.
  • Improved logic so that it does not throw an error when the provided filename contains invalid path characters (i.e. <, >, /, etc).
Reviews (0)
Category
Functional libraries & utilities, Files & documents
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
Content Type has no dependencies.
Application Objects
Content Type has 0 AOs.
Team
Compatible with
Version 11
Database:
All
Asset consumers
No consumers yet.
Weekly downloads