Graham,
In Active mode, the Data Port Range is set by the FTP client (if
required)
Yes and corresponding port must be opened on the router of the client
side (see *).
In Passive Mode, the Data Port Range is set by the FTP server (if
required)
Yes.
As an example our FTP server send the command "227 entering passive mode
(111,222,333,444,152,128)" to the client.
"111,222,333,444" is the IP adress of the server and "152,128" is the
port ie : 152*256+128=39040
The ports of passive range must be opened on the router of the server side.
Passive mode is generally used in order to avoid problem of configuring
router on the client side.
(*) When you use FTP some router analyse the FTP protocol and open port
automatically on the router.
When you use FTP/SSL you must manually open these port on the router.
Sorry for my blabla english ;)
Nicolas
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be