I'm working on a little FTP program for Windows. I'm using the MFC Internet classes, including CInternetSession and FtpConnection. Everything works great (I can do dirs, u/d files, etc.), but I haven't been able to get the tandard login welcome Screen most FTP servers send. Is there some say to do this, using the MFC FTP Classes?
I've also tried deriving a class from CInternetSession, verriding the OnStatusCallback() method, but that didn't seem to do much...
Here's an example of what I'm doing:
cSession = new CInternetSession( (LPCTSTR)"www.netside.com
NULL, NULL, NULL);
pFtp = cSession->GetFtpConnection
", "rat", "lander", 21, FALSE);
// ... Directory Read code, then some copy stuff after this.