Xceed .NET Libraries Documentation
ClearCommandChannel Property


Xceed.Ftp Assembly > Xceed.Ftp Namespace > FtpConnection Class : ClearCommandChannel Property
Gets or sets a value indicating whether to clear the command channel after login to facilitate firewall NAT when using a secure data channel.
Syntax
'Declaration
 
Public Property ClearCommandChannel As Boolean
'Usage
 
Dim instance As FtpConnection
Dim value As Boolean
 
instance.ClearCommandChannel = value
 
value = instance.ClearCommandChannel
public bool ClearCommandChannel {get; set;}

Property Value

true if the command channel should be cleared after login; false otherwise.
Remarks
If the CCC command is not supported by the server, an exception will be thrown. TransferMode will also throw an exception if Mode Z is used and is not supported by the server.
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