How to check if an uploaded file is really an Excel file?
regards,
indra
Hi Indra,
I found an OutSystems component to edit and create excel files. You can check if an uploaded file is an excel one by opening it using this component and if no exceptions or strange value are returned you can assume that it is an excel file.
Regards,
António Pereira
Halo Om,
Upload Widget has Id,Content,Type and Filename attributes. Maybe you could check at least from the filename given and make sure extension is right i.e. xlsx
Thank you all,
I am thinking to use the content type of the uploaded file: