Back to product page

BindIP property


Holds IP address used for listening.

Type

A String value.

Syntax

  • Basic
object.BindIP [= value]
The BindIP(object,value) syntax has these parts:
objectAn expression evaluating to an object of type wodFTPD.
valueA String value.

Remarks

If you don't want your FTP server to be publicly accessible (during testing or implementation, for instance) you can make it use only one of your network interfaces. For instance, if you have local network on IP address 192.168.1.1, and one interface is connected to internet with IP 100.101.102.103, you can make only users from your local network access FTP server by setting
 
wodFTPD1.BindIP = "192.168.1.1"
 

As a result, connections from Internet will be denied (by your OS, not application) and furthermore you will be allowed to run some other FTP server on the same port - on different interface.

If you want your server to be accessible only from your computer, set it up like this:
 
wodFTPD1.BindIP = "127.0.0.1"
 

To make FTP server bind all interfaces, just leave this property empty. You can use BindIPType property to define when to bind specified interface.

When UseIPv6 property is set to True you can also specify IPv6 addresses inside BindIP property.

Platforms

Windows