Stopping and starting a domain
Please see the source code example available in the api-examples/start_stop_domain directory of your JSCAPE Secure FTP Server installation.