MFC CFTPConnection getting server answered number

Hello,

I wonder how I can get the server answer when I use the wininet MCF classes. I connect to a FTP Server and it's working fine but I need to know the server answer anyway to build a log file, for example an answer like "226" to tell me that the file upload was OK. I'm using MFC classes CInternetSession and CFTPConnection to handle my ftp functions.

Thanks.

[392 byte] By [pppswing] at [2007-12-24]
# 1

There are several MFC newsgroups and a networking newgroup you can use to ask this question. This forum is for C++ language and compilation issues.

http://msdn.microsoft.com/newsgroups/default.aspx?dg=microsoft.public.vc.mfc&lang=en&cr=US

BrianKramer at 2007-10-8 > top of Msdn Tech,Visual C++,Visual C++ Language...