CFtpClient::GetClientQuota Method  
 
INT GetClientQuota(
  LPFTPCLIENTQUOTA lpClientQuota  
);

The GetClientQuota method returns information about file quotas for the current client session.

Parameters

lpClientQuota
A pointer to an FTPCLIENTQUOTA structure which contains the quota information returned by the server.

Return Value

If the method succeeds, the return value is the server result code. If the method fails, the return value is FTP_ERROR. To get extended error information, call GetLastError.

Remarks

This method uses the XQUOTA command to obtain information for the current client session. If the server does not support this command, the method will fail.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: csftpv12.lib

See Also