Back to product page

StrictHost property


Determines if secondary FTP connection is restricted to same host as primary.

Type

A Boolean value. When set to True forces wodFtpDLX to connect data connection to then same address as in Hostname property.

Syntax

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

Remarks

StrictHost property determines if secondary (data) connection is restricted only to same host as defined in Hostname property, or wodFtpDLX should connect to whatever was returned in reply to PASV command from the server. This property is used only with Passive transfers.

By default, this property is set to False, meaning wodFtpDLX will connect to any IP address that server pointed it to. However, this can cause problems with some firewalled servers who show invalid IP address in PASV response.

If you set StrictHost property to True - wodFtpDLX will ignore IP address received with PASV response, and connect to same address as specified in Hostname property. Obviously - site to site (FXP) transfers will not work in that case.

Platforms

Windows