0 votes
by (120 points)
edited by
Ftp ftp = new Ftp();
TlsParameters parameters = new TlsParameters();
parameters.CertificateVerifier = CertificateVerifier.AcceptAll;
ftp.Connect("xxx.com", 21, parameters, FtpSecurity.Explicit);
ftp.Login("xxx", "xxxxxxx");
foreach (FtpItem item in ftp.GetItems("*.csv"))
{
    ftp.Download(item.Name, LocalPath);
}

I'm using the trial of rebex ftp

Applies to: Rebex FTP/SSL, Rebex TLS

1 Answer

0 votes
by (70.2k points)

What does it mean "connection is closed"? Have you received an exception?

Can you please copy here the communication log, so we can see what is going on? Or you can send it to support@rebex.net alternatively.

How to create the log is described at http://www.rebex.net/kb/logging/

...