Click here to Skip to main content
14,364,335 members

C / C++ / MFC

 
AnswerRe: How to make the heap address(by new) have the same every time the program runs? Pin
CPallini11-Nov-19 23:10
mveCPallini11-Nov-19 23:10 
QuestionRe: How to make the heap address(by new) have the same every time the program runs? Pin
David Crow12-Nov-19 6:46
memberDavid Crow12-Nov-19 6:46 
AnswerRe: How to make the heap address(by new) have the same every time the program runs? Pin
leon de boer13-Nov-19 3:34
memberleon de boer13-Nov-19 3:34 
GeneralRe: How to make the heap address(by new) have the same every time the program runs? Pin
Richard MacCutchan13-Nov-19 6:01
protectorRichard MacCutchan13-Nov-19 6:01 
QuestionCTreeCtrl item images without CImageList ? Pin
Maximilien30-Oct-19 9:32
memberMaximilien30-Oct-19 9:32 
AnswerRe: CTreeCtrl item images without CImageList ? Pin
Richard MacCutchan30-Oct-19 10:42
protectorRichard MacCutchan30-Oct-19 10:42 
GeneralRe: CTreeCtrl item images without CImageList ? Pin
Maximilien30-Oct-19 13:04
memberMaximilien30-Oct-19 13:04 
QuestionFTPS Connection Pin
Paul201324-Oct-19 11:28
memberPaul201324-Oct-19 11:28 
Hello everyone,

I wrote an MFC app some years ago that connects to an FTP server. Recently the server has switched over to FTPS so whenever I try to connect I get the following message:
550 SSL/TLS required on the control channel


I'm using the following code to connect to the server:
CInternetSession* pSession = new CInternetSession(L"myApp", 1, 0, 0, 0, INTERNET_FLAG_DONT_CACHE);
CFtpConnection* pFtpCon = pSession->GetFtpConnection(L"*IPAddress*", L"*Username*", L"*password*", 21);


I was wondering if it is possible to connect to an FTPS server using CInternetSession/CFtpConnection and if so how. Or will I need to use a library to achieve this. I've searched around on the internet but can't find a definitive answer.

Any help would be most appreciated. Thanks.
QuestionRe: FTPS Connection Pin
David Crow29-Oct-19 10:10
memberDavid Crow29-Oct-19 10:10 
AnswerRe: FTPS Connection Pin
Paul201330-Oct-19 9:25
memberPaul201330-Oct-19 9:25 
QuestionRe: FTPS Connection Pin
David Crow30-Oct-19 11:17
memberDavid Crow30-Oct-19 11:17 
AnswerRe: FTPS Connection Pin
Paul201330-Oct-19 12:30
memberPaul201330-Oct-19 12:30 
Question.bmp and .ico MFC vc++ Pin
Member 1457555624-Oct-19 3:21
memberMember 1457555624-Oct-19 3:21 
QuestionRe: .bmp and .ico MFC vc++ Pin
David Crow24-Oct-19 3:41
memberDavid Crow24-Oct-19 3:41 
AnswerRe: .bmp and .ico MFC vc++ Pin
Member 1457555624-Oct-19 3:59
memberMember 1457555624-Oct-19 3:59 
QuestionRe: .bmp and .ico MFC vc++ Pin
David Crow24-Oct-19 4:17
memberDavid Crow24-Oct-19 4:17 
AnswerRe: .bmp and .ico MFC vc++ Pin
Member 1457555625-Oct-19 4:23
memberMember 1457555625-Oct-19 4:23 
GeneralRe: .bmp and .ico MFC vc++ Pin
leon de boer24-Oct-19 16:10
memberleon de boer24-Oct-19 16:10 
GeneralRe: .bmp and .ico MFC vc++ Pin
Richard MacCutchan24-Oct-19 22:42
protectorRichard MacCutchan24-Oct-19 22:42 
GeneralRe: .bmp and .ico MFC vc++ Pin
Victor Nijegorodov25-Oct-19 0:19
memberVictor Nijegorodov25-Oct-19 0:19 
GeneralRe: .bmp and .ico MFC vc++ Pin
leon de boer25-Oct-19 6:07
memberleon de boer25-Oct-19 6:07 
AnswerRe: .bmp and .ico MFC vc++ Pin
Richard MacCutchan24-Oct-19 5:05
protectorRichard MacCutchan24-Oct-19 5:05 
GeneralRe: .bmp and .ico MFC vc++ Pin
Member 1457555625-Oct-19 4:26
memberMember 1457555625-Oct-19 4:26 
QuestionWhy can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
arnold_w22-Oct-19 23:33
memberarnold_w22-Oct-19 23:33 
GeneralRe: Why can't I initialize ("initializer element is not constant") a struct with a truncated function pointer? Pin
Richard MacCutchan23-Oct-19 0:35
protectorRichard MacCutchan23-Oct-19 0:35 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.