Top "File-type" questions

The type of a file, as characterized by the format of the data it contains, or its use case.

How to have jQuery restrict file types on upload?

I would like to have jQuery limit a file upload field to only jpg/jpeg, png, and gif. I am …

javascript jquery file-upload file-type
Node.js get file extension

Im creating a file upload function in node.js with express 3. I would like to grab the file extension of …

javascript node.js file-type
Upload DOC or PDF using PHP

I'm able to upload images fine, but when when I change the types from image/jpg, image/gif to application/…

php pdf upload doc file-type
What do .c and .h file extensions mean to C?

It's all in the title; super-simple I reckon, but it's so hard to search for syntactical things anywhere. These are …

c file-type cs50
Full path from file input using jQuery

When I call val() on an input with type="file" I only get file name rather than full path. How …

jquery input file-type
How to get file name from content-disposition

I Downloaded file as response of ajax. How to get file name and file type from content-disposition and display thumbnail …

javascript ajax filenames file-type content-disposition
How to check if an intent can be handled from some activity?

I have this method so far , but it came up like something is missing for example I have a file /…

android android-intent mime-types file-type intentfilter
IntelliJ not recognizing a particular file correctly, instead its stuck as a text file

There is a freemarker file (ftl) in my IntelliJ project that is incorrectly recognized as a text file. There are …

java intellij-idea freemarker file-type
Node.js - File System get file type, solution around year 2012

I need to get the file type of a file with the help of node.js to set the content …

javascript node.js filesystems file-type
Which Visual C++ file types should be committed to version control?

Which Visual Studio \ Visual C++ file types should be committed to version control? In my project I have the following …

visual-studio visual-c++ version-control file-type