Dart Ftp Control
LocalDataPort Property
Description
Gets or sets a string used to restrict the local data port to a value or range compatible with your firewall.
Property type
Read-write property
Syntax
Visual Basic
Public Property LocalDataPort As String
Remarks

The default value, "0", indicates that any local port in the ephemeral port range may be used. When set to a single value, such as "20", only that port will be used. When set to a range of values, such as "1024:1028", successive ports in this range will be tried until one can be opened. Use this property if for some reason the client machine is limited in the ports that can be used to make data connections. This is often the case in intranet environments where client are restricted or firewalled for security purposes.

When using this property it is recommended to specify a range of ports if at all possible because many FTP servers do not allow connections to a port unless a period of time has elapsed since the last connection to this port.

See Also

Ftp Object  | Ftp Members


PowerTCP FTP for ActiveX Documentation Version 2.2
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic