Solved

CFtpConnection and upload to secure server

Posted on 1998-11-11
1
347 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

821 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