?
Solved

CFtpConnection - logging onto both proxy and ftp servers

Posted on 1998-03-04
2
Medium Priority
?
382 Views
Last Modified: 2013-11-20
We connect to the internet via a proxy server. Using the classes CInternetSession and CFtpConnection, only allows you to log onto the proxy server. Is there a way (without resorting to sockets programming)to use the above two classes to first log onto a proxy server and then onto a ftp server?
0
Comment
Question by:k9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 450 total points
ID: 1316764
After you connect to the Internet, you should be able to connect to your ftp server via the proxy server using something like:

  hConnect = InternetConnect(hSession, "proxy", 0,
    "name@ftp.server.com", "password", INTERNET_SERVICE_FTP,
    Flags, Context);


0
 

Author Comment

by:k9
ID: 1316765
Appreciate the help. Thanks.
0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

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

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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 video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

770 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