Re: Executing SEXYZ from Javascriptã By: High Spirit to Digital Man on Tue Mar 21 2017 10:08 pmãã > Re: Executing SEXYZ from Javascriptã > By: Digital Man to High Spirit on Tue Mar 21 2017 06:43 pmã >ã > DM> And how are you executing that command from JavaScript?ã >ã > Using the system.exec() command.ããI wouldn't expect that to work. Firstly, with Telnet, the session must be putãinto "binary mode" (for both directions). You could possibly use theãconsole.telnet_cmd() function to do this:ã var telnet = load(new Object, "telnet_lib.js");ã console.telnet_cmd(telnet.DO, 0);ã console.telnet_cmd(telnet.WILL, 0);ãã0 is the "binary tx" telnet command.ããAlso, that method will definitely not work with SSH (but it might with RLogin).ãã > DM> The correct way to initiate a download (send a file) using JavaScriptã > DM> is with the bbs.send_file() function (seeã > DM>
http://synchro.net/docs/jsobjs.html for details). It possible you couldã > DM> setup the sexyz command-line and execute it correctly from Synchronet,ã > DM> but it's not the "proper" way to achieve this.ã >ã > I tried that, but I do not want the prompt to "Hang up after transfer?" andã > it does not handle batch transfers that I could see.ããDid you try using bbs.batch_add_list() and bbs.batch_download()?ãã digital manããSynchronet/BBS Terminology Definition #4:ãBBS = Bulletin Board SystemãNorco, CA WX: 61.4øF, 82.0% humidity, 6 mph E wind, 0.09 inches rain/24hrsã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã