Click here to Skip to main content
16,005,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralWait Pin
Anonymous8-Jun-04 22:00
Anonymous8-Jun-04 22:00 
GeneralRe: Wait Pin
jmkhael8-Jun-04 22:06
jmkhael8-Jun-04 22:06 
Generalkeyboar hook unicode Pin
arthi_mclt8-Jun-04 21:08
arthi_mclt8-Jun-04 21:08 
GeneralBitmap problem Pin
Imtiaz Murtaza8-Jun-04 20:57
Imtiaz Murtaza8-Jun-04 20:57 
GeneralRe: Bitmap problem Pin
Frank K8-Jun-04 22:42
Frank K8-Jun-04 22:42 
GeneralRe: Bitmap problem Pin
V.9-Jun-04 2:07
professionalV.9-Jun-04 2:07 
GeneralRe: Bitmap problem Pin
basementman9-Jun-04 11:10
basementman9-Jun-04 11:10 
GeneralInternetConnect problem Pin
Anonymous8-Jun-04 19:41
Anonymous8-Jun-04 19:41 
Hi,

I m trying to use InternetConnect() function to connect with FTP site...specifying valid USERNAME & PASSWORD but that always returns NULL, but when i test it using "anonymus" as USERNAME & PASSWORD it works fine.
But I want to login to the FTP using specific USERNAME & PASSWORD..

The sample snippet that is being successfull is :

HINTERNET hIntConnect = InternetConnect(hInet,"ftp.corsoft.net",INTERNET_DEFAULT_FTP_PORT,_T("anonymous"),_T("anonymous"),INTERNET_SERVICE_FTP,0,NULL);

And the code snippet that fails is :

HINTERNET hIntConnect = InternetConnect(hInet,"ftp.corsoft.net",INTERNET_DEFAULT_FTP_PORT,_T("UserName"),_T("Password"),INTERNET_SERVICE_FTP,0,NULL);

Does any one have idea then please reply me urgently. Or is there any other idea to login to the FTP site with specific USERNAME & PASSWORD.

Thanks in advance.

Chirag.
GeneralRe: InternetConnect problem Pin
Ted Ferenc8-Jun-04 21:36
Ted Ferenc8-Jun-04 21:36 
GeneralRe: InternetConnect problem Pin
Anonymous8-Jun-04 23:40
Anonymous8-Jun-04 23:40 
GeneralRe: InternetConnect problem Pin
Ted Ferenc9-Jun-04 0:04
Ted Ferenc9-Jun-04 0:04 
GeneralRe: InternetConnect problem Pin
Anonymous9-Jun-04 0:29
Anonymous9-Jun-04 0:29 
GeneralRe: InternetConnect problem Pin
Ted Ferenc9-Jun-04 1:25
Ted Ferenc9-Jun-04 1:25 
GeneralRe: InternetConnect problem Pin
Ravi Bhavnani8-Jun-04 21:39
professionalRavi Bhavnani8-Jun-04 21:39 
GeneralWaiting for ShellExecute before going on Pin
Paolo Ponzano8-Jun-04 19:37
Paolo Ponzano8-Jun-04 19:37 
GeneralRe: Waiting for ShellExecute before going on Pin
Diddy9-Jun-04 2:05
Diddy9-Jun-04 2:05 
Generalmarker audio in sdk Pin
bagherrokni8-Jun-04 19:20
bagherrokni8-Jun-04 19:20 
GeneralRe: marker audio in sdk Pin
Paolo Ponzano8-Jun-04 19:30
Paolo Ponzano8-Jun-04 19:30 
GeneralRe: marker audio in sdk Pin
Vadim Tabakman9-Jun-04 11:46
Vadim Tabakman9-Jun-04 11:46 
GeneralFancy Property Sheet Pin
flip8-Jun-04 19:08
flip8-Jun-04 19:08 
GeneralRedirecting standard input from dos-console to HWND Pin
Paolo Ponzano8-Jun-04 18:45
Paolo Ponzano8-Jun-04 18:45 
GeneralRe: Redirecting standard input from dos-console to HWND Pin
Anthony_Yio8-Jun-04 20:12
Anthony_Yio8-Jun-04 20:12 
GeneralRe: Redirecting standard input from dos-console to HWND Pin
David Crow9-Jun-04 3:33
David Crow9-Jun-04 3:33 
GeneralHelp! Line Thinning using Visual C++ Pin
fuzzypeach8-Jun-04 17:42
fuzzypeach8-Jun-04 17:42 
GeneralWhat's problem with IHTMLDocument2::write Pin
Hailiang Yu8-Jun-04 17:12
Hailiang Yu8-Jun-04 17:12 

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.