StrictHost Property

See Also

FtpDLX Class  | FtpDLX Members

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages WeOnlyDo.Client.FTP Send comments on this topic.

StrictHost Property

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

[Visual Basic]
Public Property StrictHost As Boolean
[C#]
public bool StrictHost {get; set;}
[JScript]
public function get,set StrictHost : 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..

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

FtpDLX Class  | FtpDLX Members

 

 


© WeOnlyDo Software. All Rights Reserved.