Assembly: edtFTPnetPRO (in edtFTPnetPRO.dll) Version: 8.0.0.20
Syntax
C# |
---|
[FlagsAttribute] public enum ProFTPCompatibilityFlags |
Visual Basic |
---|
<FlagsAttribute> _ Public Enumeration ProFTPCompatibilityFlags |
Visual C++ |
---|
[FlagsAttribute] public enum class ProFTPCompatibilityFlags |
Members
Member name | Value | Description | |
---|---|---|---|
DisableControlSSLClosure | 1 | Disables the SSL/TSL closure exchange on the control channel. | |
DisableDataSSLClosure | 2 | Disables the SSL/TSL closure exchange on data channels. | |
DisableControlWaitOnClose | 4 | Prevents the client from waiting for a reply to the SSL/TLS closure command on the control channel. | |
DisableDataWaitOnClose | 8 | Prevents the client from waiting for a reply to the SSL/TLS closure command on the data channel. |
Remarks
The most severe barrier to server compatilibilty is the lack of FTPS support on the server. Most FTP servers can be configured to support FTPS, but some only support SFTP (SSH File Transfer Protocol), which in fact is not FTP in the conventional sense. SFTP is not supported by ProFTPConnection.
The second most common server incompatibility problem is caused by differing level of adherence to the standard for how SSL/TLS sockets should be closed. By default ProFTPConnection will attempt to close sockets in the standard-compliant way. While this is the most secure, it occasionally will cause hanging as it waits for a response from the client which never arrives. The ServerCompatibility property is provided for controlling this behaviour. If you experience hanging when a data-transfer is complete then you should first try DisableDataWaitOnClose and, if the problem still occurs, DisableDataSSLClosure. If you experience hanging as you close your secure FTP session then you should first try DisableControlWaitOnClose and, if the problem still occurs, DisableControlSSLClosure.