Back to product page

StrictHost property


Determines if data connection is restricted to same IP address as control connection.

Type

Boolean

Syntax

  • C#
  • VB.NET
Boolean StrictHost {get; set; };

Property StrictHost As Boolean

Remarks

StrictHost property determines if secondary (data) connection is restricted only to same host as defined in Hostname property, or wodFtpDLX.NET 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.NET 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.NET 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