?
Solved

CFtpConnection check for still connect

Posted on 2004-11-04
2
Medium Priority
?
313 Views
Last Modified: 2013-11-20
Is there an easy method to check if a CFtpConnection is still connected?

I realize that CInternetSession class has methods for setting up a call back function, but I'm looking to see if there's an easier method.
0
Comment
Question by:Axter
2 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 2000 total points
ID: 12497039
The easiest way I could imagine would be calling 'CFtpConnection::GetCurrentDirectory()' - if that one fails, you for sure have a connection problem.
0
 
LVL 30

Author Comment

by:Axter
ID: 12553605
Thanks jkr.

Not exactly what I was looking for, but it's an easy enough method
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month16 days, 6 hours left to enroll

850 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