[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

CFtpConnection - logging onto both proxy and ftp servers

Posted on 1998-03-04
2
Medium Priority
?
385 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 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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 shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Suggested Courses
Course of the Month18 days, 21 hours left to enroll

834 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