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

Avi Marcus avi at avimarcus.net
Sat Feb 27 20:28:00 MSK 2016


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 at 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 at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160227/2eb9e341/attachment.html 


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