Skip to content

FluentFTP cannot connect to POC ftps server #7

@drweb86

Description

@drweb86

Hi guys

FluentFTP cannot connect to this FTP server project with demanded encryption.

If to verify supported connection modes you can use the next code on temporarry project

using FluentFTP;

var client = new AsyncFtpClient(
	"127.0.0.1",
	"VoDA",
	"123",
	5021,
	new FtpConfig
	{
		SslProtocols = System.Security.Authentication.SslProtocols.None,
		EncryptionMode = FtpEncryptionMode.Auto
	});

client.ValidateCertificate += Client_ValidateCertificate;

void Client_ValidateCertificate(FluentFTP.Client.BaseClient.BaseFtpClient control, FtpSslValidationEventArgs e) {
	e.Accept = true;
}

var det = await client.AutoDetect(false, true);

foreach (var detectedConfig in det)
{
	Console.WriteLine(detectedConfig.Encryption);

}

Console.ReadLine();

the response would be

None

Also Far manager fails to connect to FTPS in test project. So FTPS is implemented incorrectly.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions