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
Solved

CFtpConnection - logging onto both proxy and ftp servers

Posted on 1998-03-04
2
377 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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.

Question has a verified solution.

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

Suggested Solutions

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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…
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 a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

860 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