CFtpServer::SetOptions Method  
 
BOOL SetOptions(
  DWORD dwOptions  
);

Sets the default options for this instance of the server.

Parameters

dwOptions
An unsigned integer which specifies one or more options. For a list of available options, see Server Option Constants.

Return Value

If the method is successful, it will return a non-zero value, otherwise it will return a value of zero.

Remarks

The SetOptions method changes the default options for the current instance of the server. This method cannot be used to change the options for an active instance of the server. If the server is active, it must be stopped before calling this method. To get the current options, use the GetOptions method.

Requirements

Minimum Desktop Platform: Windows 7 (Service Pack 1)
Minimum Server Platform: Windows Server 2008 R2 (Service Pack 1)
Header File: cstools10.h
Import Library: csftsv10.lib

See Also

GetOptions