Subj : PPP auto start? To : Nick Andre From : David Calafrancesco Date : Fri Mar 02 2001 06:36 pm Nick Andre wrote in a message to All: NA> I run Warp 3/FP32 and use a program called FiFtp to transfer my NA> Fido mail to my uplink via FTP site. NA> Is there some way to auto-dial my ISP to transfer mail? NA> I've managed to start PPP.EXE in the tcpip/bin directory by myself, NA> but I can't find a way to disconnect from my ISP when I'm done NA> downloading mail. Is there some way around this? I use InJoy to do my PPP dialup. You can launch it from anything that can trigger an OS2 app (lots of ways for doing that from a mailer). Yeah... real simple... talking in meta code... ppp_dialout sleep 20 seconds wait for ppp interface to be stable fiftp -c config.fil kill ppp_dialout Alternatively mailer exits with appropriate errlvl to launch InJoy | \_/ InJoy |-> FiFtp is spawned | |-> InJoy is set to hang up & exit when FiFtp is finished. | \ mailer is restarted by wrapper script The kill command is available from hobbes. You want the version that can kill an app by name or else you have to use grep & cut to grab the pid from the ps (or pstat or go) command. Dave Calafrancesco, Team OS/2 dave@drakkar.org .... They got the library at Alexandria, they're not getting mine! --- * Origin: Druid's Grove BBS - (914)/876-2237 (1:2624/306) .