-
-
Notifications
You must be signed in to change notification settings - Fork 680
FTPS Connection using BouncyCastle
FluentFTP normally uses .NET SslStream/SChannel for secure encrypted connections. This combination unfortunately currently does not support TLS 1.3 on MS Windows systems.
Therefore we integrated the powerful BouncyCastle networking library, a .NET library ported from Java, which contains a bulletproof implementation of TLS 1.3, and also supports much more secure authentication methods, as an alternative secure and encrypted transport medium.
We developed a FluentFTP adapter wrapper for BouncyCastle called FluentFTP.BouncyCastle, which works on Windows, Unix and Mac OSX.
It is published as an independent Nuget FluentFTP.BouncyCastle, and integrates with the FluentFTP client object. See the diagram below for a visual explanation.
TODO
Using BouncyCastle FTP streams gives many benefits:
- ??
- ??
All these settings are properties of the FtpClient object.
-
Config.CustomStream - Set this option to
typeof(BouncyCastleFtpStream)to activate the BouncyCastle package in your FTP client. -
Config.CustomStreamConfig - Set this to an instance of
BouncyCastleFtpConfigto configure the GnuTLS connection settings.
All these settings are properties of the BouncyCastleFtpConfig object.
- xx
- xx
- xx
- xx
TODO
- Auto Connection
- Auto Reconnection
- FTP(S) Connection
- FTP(S) Connection using GnuTLS
- FTPS Proxies
- Custom Servers
- Custom Commands
- v40 Migration Guide