Welcome,
I'm learning how to use indy ftp to make simple connection with my server.
Now i would like to get list of files in directory.
procedure TForm1.Button1Click(Sender: TObject);
var
numFiles,i:integer;
aFilesftp: array of string;
abc:TStringList;
begin
ftp.Username:='xxxxl';
ftp.host:='xxxx';
ftp.Password:='xxxx';
ftp.Connect;
abc.Create;
ftp.ChangeDir( '/' );
ftp.List(abc,'*.*',true);
end;
(compile without error)
It throw crash and "SIGSEGV" error.
(open only assembler window, no hint what may be wrong)
Can someone show me where i make mistake ?
Regards