GetErrorMessage (from CInternetException) gives me the following:
With the wrong ftp server name:
"ERROR! Server name or address could not be resolved"
With the wrong password:
ERROR! Password not allowed
With invalid username:
ERROR! Password not allowed <-----? No separate message for invalid username? Is this intended?
try { pConnect = sess->GetFtpConnection(host, userName, password, port, FALSE ); } catch (CInternetException* pEx)
source share