overly complex my butt!!!! you could build that script with under 10 lines. what I would suggest, now this may not work in your case, but I would load appache and PHP on your linux box, what flavor and version of linux?? or if you dont want to do that, go to php.net and read up on the socket connection, then all you would have to do is set a user on your linux box that has access to the one dir that has the file you want to run, have your script open the connection, login, send your command, and logout back out. it will be a little more complex in your script, but you get the idea,