What are the "dataportrangeend" and "dataportrangestart" properties in the
TFTPClient component? I searched and could not find any description. I see
them mentioned in a FAQ but no description.

What  I need to do is allow the user to specify a local port number. If I
set both of the above properties to X will that fulfill the need?

As you may already know, FTP is using TWO ports: one for commands and one for data. And for data, a FTP client act as a server : unless you select passive mode, a FTP client accept data connection from the FTP server. This poses a problem with multiple simultaneous FTP transfer. This is where the port range is involved. The FTP client component will use the port range - if specified - for accepting data connection. This is mandatory when you have a security product which restrict input connections.

Whenever possible, it is better to use FTP passive mode in which the FTP client remains a client for everything, that is has only outgoing connections.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
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

Reply via email to