Subj : Executing SEXYZ from Javascript To : High Spirit From : Digital Man Date : Wed Mar 22 2017 11:17 am 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 .