Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
detect the file type of CSV/TXT file
#1
how to detect the file type or contented type of a csv file upload using fileuploader?
Reply
#2
(09-19-2024, 09:02 AM)pgnair Wrote: how to detect the file type or contented type of a csv file upload using fileuploader?

Would someone please help with this?
Reply
#3
(09-23-2024, 03:22 AM)pgnair Wrote:
(09-19-2024, 09:02 AM)pgnair Wrote: how to detect the file type or contented type of a csv file upload using fileuploader?

Would someone please help with this?

You probably need to look at the mimetype.  Here is a code example.

    TIWMimeTypes.IsStaticFile(aFileName, aMimeType);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)