I have built a wrapper around the CFtpConnection code to create a CFtp.

It has members like Login() and LogOut(), PutFile(), GetFile(), SetDir(), MakeDir(), etc. It can handle passive connections as well as logging on through a firewall/proxy server.

Now I need SSL to it. I've worked with SSL at the socket layer to create a secure client/server application. I'm guessing (hoping ?) it isn't much different to do the same over the internet.

The CFtpConnection is set from a CInternetSession:

Code:
	CFtpConnection *ftp;
	CInternetSession session;

	ftp = session.GetFtpConnection(ipAddress,user,password,port,passive);
In adding SSL, am I going to need do the low level connection myself, with the SSL socket as well? Can I get the some to the point where I can pass something to CFtpConnection, thus preserving my CFtp interface?

Thanks

Keith