edtFTPnet/PRO - Secure FTP component for .NET | Free Trial | Pricing
[FTPS Only] Switches the component to using an unencrypted command channel when using FTPS.

Namespace: EnterpriseDT.Net.Ftp
Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 9.4.0.40

Syntax

C#
public bool UseUnencryptedCommands { get; set; }
Visual Basic
Public Property UseUnencryptedCommands As Boolean
	Get
	Set
Visual C++
public:
property bool UseUnencryptedCommands {
	bool get ();
	void set (bool value);
}

Remarks

If this flag if true and SecureFTPType is FTPSExplicit then the component will automatically switch to an unencrypted command channel after connection and login. If the component is already connected, setting this flag to true will switch to using an unencrypted command channel from this point onwards.

Not all FTPS servers support this feature (known as CCC, Clear Control Channel).

Once the command channel is changed to being unencrypted, it cannot be changed back to encrypted within the session.

This feature can sometimes be useful in getting past firewalls that need to be able to inspect command channels to open ports for directory listings and file transfers.

The default is false.

If things appear to hang here, set the ServerCompatibility property to SecureFTPCompatibilityFlags.SSLDisableControlWaitOnShutdownSSL

See Also