Solved

CFtpConnection and upload to secure server

Posted on 1998-11-11
1
339 Views
Last Modified: 2013-11-20
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
Comment
Question by:puce020497
1 Comment
 
LVL 2

Accepted Solution

by:
prasanth earned 100 total points
ID: 1324515
CInternetSession iconn;
CFtpConnection* pFTP = iconn.GetFtpConnection("ftp.server.com", "UserName", "Password");
pFTP->PutFile("LocalFile.ext", "RemoteFile.ext");

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now