
Use the ICISite interface SetFTPAccess method to enable or disable FTP access for a Site. If the site must be restarted for the change to take effect, the SetFTPAccess method returns TRUE.
Signature:
HRESULT SetFTPAccess(
[in] VARIANT_BOOL newVal,
[out, retval] VARIANT_BOOL *pNeedRestart);
True = Access enabled
False = Access disabled
Refer to Site Listener Settings Parameters for an illustration of how this and other ICISite methods can be accessed in the Administrator interface.