FreeSwitch Javascript File type

FreeSwitch is an open-source telephony application capable of being a class 4 or class 5 soft-switch as well as a PBX. Freeswitch runs on linux, OSX, windows, *BSD and many other platforms. It is licensed under the MPL (Mozilla Public License) version 1.0. FreeSwitch was written from the ground up as a new application and is not a fork of any other application.


Returns the type (ie text, utf, unicode, etc) of the file




var fd = new File("/tmp/blah");"read");
FreeSwitch Javascript Misc console_logconsole_log(fd.type+"\n");


Created by: trixter, Last modification: Tue 22 of Aug, 2006 (04:32 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+