CFtpServer::m_nMaxPort  
 
UINT m_nMaxPort;

The maximum port number used by the server for passive data connections.

Remarks

The m_nMaxPort data member is a public variable that specifies the maximum range of port numbers that will be used with passive data connections. A value of zero specifies the default value of 65535 should be used. The minimum value of this member is 5000 and the maximum value is 65535. If the value is non-zero, it must be greater than the value of the m_nMinPort data member. Changing the value of this data member does not have an effect on an active instance of the server.

See Also