Specifying a Site's Port Number (SetPort)

Use the ICISite interface SetPort method to set a Site's default Port used for FTP connections. If the Site must be restarted after changing the port, the SetPort method returns TRUE.

Signature:

HRESULT SetPort(

[in] UINT newVal,

[out, retval] VARIANT_BOOL *pNeedRestart);