Development environment: c + + builder plus InFtp9 components, FTP Server Server -u,
Problem description:
A phase: found on the Ftp connection not, check data, will InFtp PASV attribute set to True (passive mode) made corresponding configuration for the server at the same time, problem solving,
Stage 2: find still have connection is not on the case, and abnormal pop-up Socket 10060, namely the timeout, at this time will be PASV attribute set to False (active mode), discovered actually normal,
Q: a passive mode is not everything?
Second, how to determine the current network for which model (that can dynamically set properties PASV)?