• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 364
  • Last Modified:

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.
0
puce020497
Asked:
puce020497
1 Solution
 
prasanthCommented:
CInternetSession iconn;
CFtpConnection* pFTP = iconn.GetFtpConnection("ftp.server.com", "UserName", "Password");
pFTP->PutFile("LocalFile.ext", "RemoteFile.ext");

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now