javascript - Mime type for archive -


i trying upload archive file taken through <input type=file> in html, calling servlet using javascript.

in javascript trying mime type of it, giving type ""(means empty). how can identify whether archive?

looks there isn't 1 mime type archives, each have own (if have 1 @ all).

have this wikipedia article more info.


Comments

Popular posts from this blog

How to access named pipes using JavaScript in Firefox add-on? -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -

node.js - req param returns an empty array -