Try connecting to port 21 and see if there is someone listening on the port. Another way is to have a known set of windows ftp servers and see if anyone of these is running - but this is not so easy task because you cant know each and every ftp server available for windows.
just my .02 euro cents. Jorge Goncalvez wrote: > hi, I wanted to stop ftp cygwin if there is already a ftp server running but if > not i wnat to start ftp cygwin . > How can I know by code if there is already a ftp server running? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/