How can I get a response of LIST
command executed with CFTPConnection::Command()
. I can get the directory listing. But not free space size informat
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 description or server response on the thread calling this function.