I'm having trouble working with drftpd servers. I can login but when I try to get the contents of a directory I get the following error:
Rebex.net.FtpException: Unable to parse server response to PASV command.
Ftp configuration:
var fp = new Ftp
{
LogWriter = new ConsoleLogWriter(LogLevel.Debug),
Passive = true,
Settings = {UseLargeBuffers = true},
Timeout = 30000,
SecureTransfers = true,
};
fp.Settings.SslAllowedSuites = TlsCipherSuite.All;
fp.Settings.SslAllowedVersions = TlsVersion.TLS12;
fp.Connect(host, port, securityMode);
fp.Login(username, password);
fp.ChangeDirectory("/Stats/");
var files = fp.GetList();
Its the fp.GetList() that throws the exception.
Got any working samples on how to get dir contents and transfer files using drftpd ?
Thanks