How to get a response message of LIST command (from CFTPConnection)
How can I get a response of LIST command executed with CFTPConnection::Command() . I can get the directory listing. But not free space size information. Windows IIS FTP server gives free space as response of LIST command: How to check free space in a FTP Server? It does not look like that the MFC CFTPConnection class has an API to access the response message of the command executed. Though as the class is just a wrapper around Win32 Wininet functions, you can use InternetGetLastResponseInfo function to retrieve the response right after calling CFTPConnection::Command . Retrieves the last error