[Freeswitch-users] Exception: ReferenceError: File is not defined (near: "var fd = new File(logfile);

Shabbir abbasi shabbirabbasi92 at gmail.com
Sat Feb 27 11:43:15 MSK 2016


i am getting this error  in javascript  here is my code
logToFile.js

var logfile = "/usr/local/freeswitch/scripts/test.log";
var fd = new File(logfile);

i have defined but error is coming
 logToFile.js:3 Exception: ReferenceError: File is not defined (near: "var
fd = new File(logfile);")

Dont know why  ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160227/2116144b/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list