Xceed .NET Libraries Documentation
UseRemoteAddress Property (FtpConnection)


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : UseRemoteAddress Property
Gets or sets a value indicating whether to use the remote address.
Syntax
'Declaration
 
Public Property UseRemoteAddress As Boolean
'Usage
 
Dim instance As FtpConnection
Dim value As Boolean
 
instance.UseRemoteAddress = value
 
value = instance.UseRemoteAddress
public bool UseRemoteAddress {get; set;}

Property Value

true to use the remote address; false otherwise.
Remarks
This property forces the use of the address used at the time of the connection instead of the address returned by the PASV command. This avoids NAT problems that arise between the private address returned by a server behind a firewall and the public one of the firewall to which the client connects.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

FtpConnection Class
FtpConnection Members