Exception: ReferenceError: File is not defined (near: "var fd = new File(logfile);
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 ?
The wiki seems to say that File isn't yet implemented for mod_v8... -Avi Marcus 1-718-989-9485 (USA) 02-372-1570 (Israel) 020-3298-2875 (UK) On Sat, Feb 27, 2016 at 10:43 AM, Shabbir abbasi <shabbirabbasi92@gmail.com> wrote:
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 ?
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Avi Marcus
-
Shabbir abbasi