Click here to Skip to main content
16,012,153 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get pixel value Pin
vici4u10-Apr-07 21:11
vici4u10-Apr-07 21:11 
AnswerRe: How to get pixel value Pin
Try10-Apr-07 21:22
Try10-Apr-07 21:22 
AnswerRe: How to get pixel value Pin
Hamid_RT10-Apr-07 21:38
Hamid_RT10-Apr-07 21:38 
QuestionFTP Issue Pin
Programm3r10-Apr-07 21:04
Programm3r10-Apr-07 21:04 
AnswerRe: FTP Issue Pin
Try10-Apr-07 21:14
Try10-Apr-07 21:14 
QuestionRe: FTP Issue [modified] Pin
Programm3r10-Apr-07 22:00
Programm3r10-Apr-07 22:00 
AnswerRe: FTP Issue Pin
cp987611-Apr-07 3:26
cp987611-Apr-07 3:26 
AnswerRe: FTP Issue Pin
Programm3r11-Apr-07 23:38
Programm3r11-Apr-07 23:38 
Thank you for the reply cp9876.

It seems like the problem setting the Passive Mode. By default I set it to zero, but after setting it to 1, it works.
Wikipedia:

In active mode, the FTP client opens a random port (> 1023), sends the FTP server the random port number on which 
it is listening over the control stream and waits for a connection from the FTP server. When the FTP server initiates 
the data connection to the FTP client it binds the source port to port 21 on the FTP server.

In passive mode, the FTP Server opens a random port (> 1023), sends the FTP client the server's IP address to connect
to and the port on which it is listening (a 16 bit value broken into a high and low byte) over the control stream and 
waits for a connection from the FTP client. In this case the FTP client binds the source port of the connection to a 
random port greater than 1023.



The only programmers that are better than C programmers are those who code in 1's and 0's..... Smile | :)

Smile | :) Programm3r

My Blog: ^_^

Questionwindows volume Pin
vimarsh puneet10-Apr-07 19:13
vimarsh puneet10-Apr-07 19:13 
QuestionRe: windows volume Pin
prasad_som10-Apr-07 19:18
prasad_som10-Apr-07 19:18 
AnswerRe: windows volume Pin
vimarsh puneet10-Apr-07 19:25
vimarsh puneet10-Apr-07 19:25 
AnswerRe: windows volume Pin
prasad_som10-Apr-07 19:35
prasad_som10-Apr-07 19:35 
GeneralRe: windows volume Pin
vimarsh puneet10-Apr-07 19:43
vimarsh puneet10-Apr-07 19:43 
AnswerRe: windows volume Pin
prasad_som10-Apr-07 19:53
prasad_som10-Apr-07 19:53 
GeneralRe: windows volume Pin
vimarsh puneet10-Apr-07 21:26
vimarsh puneet10-Apr-07 21:26 
GeneralRe: windows volume Pin
JudyL_MD11-Apr-07 3:38
JudyL_MD11-Apr-07 3:38 
Questionbatch file Pin
prathuraj10-Apr-07 17:15
prathuraj10-Apr-07 17:15 
AnswerRe: batch file Pin
pbraun10-Apr-07 17:45
pbraun10-Apr-07 17:45 
GeneralRe: batch file Pin
prathuraj10-Apr-07 18:10
prathuraj10-Apr-07 18:10 
GeneralRe: batch file Pin
prathuraj10-Apr-07 18:12
prathuraj10-Apr-07 18:12 
AnswerRe: batch file Pin
pbraun11-Apr-07 5:21
pbraun11-Apr-07 5:21 
AnswerRe: batch file Pin
Try10-Apr-07 20:19
Try10-Apr-07 20:19 
GeneralRe: batch file Pin
prathuraj10-Apr-07 20:31
prathuraj10-Apr-07 20:31 
GeneralRe: batch file Pin
Try10-Apr-07 20:59
Try10-Apr-07 20:59 
QuestionRe: batch file Pin
Hamid_RT10-Apr-07 21:31
Hamid_RT10-Apr-07 21:31 

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.