/ Forums / Advansys Formativ / Creating Solutions with Formativ / How to determine type of attachement / Reply To: How to determine type of attachement


Our employees are expected to send time-sheet (which is in excel) to HQ as attachement. It turns out that we receive quite a number of files which has been saved without the extention, so I would like to determine the filetype based on the contents of the file.

On a linux machine I could use the file-command to give the file-type, but on windows/formativ?




Originally posted by Support 1:
I am not aware of any other way to determine attachment types, other than looking at the file extensions. What aspect of this approach is not robust enough?


Advansys Support