Chris, Peter, Dave, and all;

  Thanks for your responses. My real problem is that the service was not 
actually starting when I thought it was. Now that the service actually 
starts, everything works well.

 What I am doing is to allow commands to be issued on a server via an 
existing FTP server. I didn't want to add any addition Network service, 
but I need to execute commands on the server.

  What I did was to add each command to its own file in a directory. in 
an other directory is a file of the same name that contains the 
execution count. The service watches for the execution count file to be 
deleted and recreated. When that happens, it executes the command in the 
other file. Only the directory containing the count files is exposed by 
the FTP server.

  What an FTP client does is get the execution count file, delete it, 
bump the number and rewrite it.

  I'm not sure I explained this very well, but it works. I have to clean 
the code up and deal with error conditions. If anyone is interested in 
the code, I'll publish it - when it is cleaned up a little.


Thanks again,
Doug
 

Reply via email to