Solved

CFtpConnection - logging onto both proxy and ftp servers

Posted on 1998-03-04
2
370 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
2 Comments
 
LVL 15

Accepted Solution

by:
Tommy Hui earned 150 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
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.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

708 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

11 Experts available now in Live!

Get 1:1 Help Now