I work with Delphi 11.2 and Clever Internet Suite 10.2.
I have a program that copy some files on 2 different FTP servers.
However when I try to list files from ftp folders, one is functioning and the other no.
The same code function for the first FTP and give "450 File not available" for the second FTP.
the code used.
clFtpMain: TclFtp;
clFtpMain.Server := 'storage.rcs-rds.ro';
clFtpMain.Port := 21;
clFtpMain.Username := 'username';
clFtpMain.Password := 'pass';
clFtpMain.PassiveMode := True;
clFtpMain.Timeout := 10000;
clFtpMain.UseTLS := ctNone;
clFTPMain.Open;
clFTPMain.ChangeCurrentDir('/folder');
clFTPMain.DirectoryListing('*'); // <-- error here
any advice?