This project is read-only.

Connection settings

Managing ports to listen


Getting ports list
FileZillaManager FZMan = new FileZillaManager();
List<int> ports = FZMan.Settings.ServerPorts.List;

Also you can get ports list as a string

FileZillaManager FZMan = new FileZillaManager();
string ports = FZMan.Settings.ServerPorts.portString;


Add new port to the list
FileZillaManager FZMan = new FileZillaManager();
string ports = FZMan.Settings.ServerPorts.addPort(333);


Delete port from the list
FileZillaManager FZMan = new FileZillaManager();
string ports = FZMan.Settings.ServerPorts.removePort(21);

Last edited Sep 6, 2013 at 1:14 AM by Katan87, version 1