Click here to Skip to main content
15,917,793 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: display files-please help me its urgent Pin
cp98763-Apr-07 1:30
cp98763-Apr-07 1:30 
GeneralRe: display files-please help me its urgent Pin
cp98763-Apr-07 3:03
cp98763-Apr-07 3:03 
GeneralRe: display files-please help me its urgent Pin
Hamid_RT3-Apr-07 6:10
Hamid_RT3-Apr-07 6:10 
QuestionRe: display files-please help me its urgent Pin
Hamid_RT6-Apr-07 4:15
Hamid_RT6-Apr-07 4:15 
QuestionWhat is printf_s in C? Pin
T.RATHA KRISHNAN2-Apr-07 21:06
T.RATHA KRISHNAN2-Apr-07 21:06 
AnswerRe: What is printf_s in C? Pin
Cedric Moonen2-Apr-07 21:10
Cedric Moonen2-Apr-07 21:10 
AnswerRe: What is printf_s in C? Pin
prasad_som2-Apr-07 21:26
prasad_som2-Apr-07 21:26 
QuestionCannot connect to FTP Server. Pin
Sameerkumar Namdeo2-Apr-07 21:00
Sameerkumar Namdeo2-Apr-07 21:00 
Hi,
I am trying to access files on ftp server using Wininet Apis.

1. I am accessing internet through proxy server.
2. There is a ftp server which gives only read access.

when I am using following string in URL to access ftp server , I can see the file/ folders on ftp server i.e connection successful.

string:-> ftp://username:password@xyz.com

but I cannot establish ftp session through Wininet APIs.

hInetOpen=InternetOpen(_T("ProxyTest"), INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0);


InternetSetOption(hInetOpen, INTERNET_OPTION_PROXY_USERNAME, strUsername, _tcslen(strUsername)+1);


InternetSetOption(hInetOpen, INTERNET_OPTION_PROXY_PASSWORD, strPassword, _tcslen(strPassword)+1);

hInetConnect=InternetConnect(hInetOpen, _T("xyz.com"), INTERNET_INVALID_PORT_NUMBER, _T("username"), _T("password"), INTERNET_SERVICE_FTP,INTERNET_FLAG_PASSIVE ,0);

I am getting hInetConnect = NULL.

Please specify where I am getting wrong or any extra things need to be executed.


Regards,
Sameer.





AnswerRe: Cannot connect to FTP Server. Pin
san123pune2-Apr-07 21:04
san123pune2-Apr-07 21:04 
GeneralRe: Cannot connect to FTP Server. Pin
Sameerkumar Namdeo3-Apr-07 17:09
Sameerkumar Namdeo3-Apr-07 17:09 
QuestionBSTR supports Unicode Pin
san123pune2-Apr-07 20:58
san123pune2-Apr-07 20:58 
AnswerRe: BSTR supports Unicode Pin
Stephen Hewitt2-Apr-07 21:25
Stephen Hewitt2-Apr-07 21:25 
AnswerRe: BSTR supports Unicode [modified] Pin
bosfan2-Apr-07 21:34
bosfan2-Apr-07 21:34 
GeneralRe: BSTR supports Unicode Pin
Stephen Hewitt3-Apr-07 2:29
Stephen Hewitt3-Apr-07 2:29 
GeneralRe: BSTR supports Unicode Pin
bosfan3-Apr-07 3:38
bosfan3-Apr-07 3:38 
GeneralRe: BSTR supports Unicode Pin
Stephen Hewitt3-Apr-07 4:27
Stephen Hewitt3-Apr-07 4:27 
AnswerRe: BSTR supports Unicode Pin
Tim Smith3-Apr-07 19:10
Tim Smith3-Apr-07 19:10 
QuestionHow lo lunch network connection dialog Pin
birajendu2-Apr-07 20:48
birajendu2-Apr-07 20:48 
AnswerRe: How lo lunch network connection dialog Pin
deeps_cute3-Apr-07 1:27
deeps_cute3-Apr-07 1:27 
GeneralRe: How lo lunch network connection dialog Pin
Mark Salsbery3-Apr-07 8:36
Mark Salsbery3-Apr-07 8:36 
Questioneditbox problem. Pin
david bagaturia2-Apr-07 20:35
david bagaturia2-Apr-07 20:35 
AnswerRe: editbox problem. Pin
vimarsh puneet2-Apr-07 21:00
vimarsh puneet2-Apr-07 21:00 
GeneralRe: editbox problem. Pin
david bagaturia2-Apr-07 21:40
david bagaturia2-Apr-07 21:40 
AnswerRe: editbox problem. Pin
Naveen2-Apr-07 21:28
Naveen2-Apr-07 21:28 
GeneralRe: editbox problem. Pin
david bagaturia2-Apr-07 21:41
david bagaturia2-Apr-07 21:41 

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.