Detecting a FTP port in a flow service

Other than creating a watt.server.ftpPort=1234, is there a method of detecting the available and enabled ftp ports defined in the ports configuration file

Everything that is done in the webMethods administrator is done by calling a service. The administrator page that displays the port information is WmRoot/pub/security-ports.dsp. I’m sure if you look at the source code for that page you’ll be able to extrapolate the correct service to call.