CFtpConnection and upload to secure server

Hi,
How to use an object CFtpConnection to connect with a server with a login and password and how to upload a file
xyz.dat who is on my current dierectory ?

Thanks in advance.
puce020497Asked:
Who is Participating?
 
prasanthConnect With a Mentor Commented:
CInternetSession iconn;
CFtpConnection* pFTP = iconn.GetFtpConnection("ftp.server.com", "UserName", "Password");
pFTP->PutFile("LocalFile.ext", "RemoteFile.ext");

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.