Method LoadIndexFile

Downloads specified index file and fill in the description field for properties Directories and Files

procedure LoadIndexFile(Filename: String);

Applied to

TMFtp

Description

Event OnIndexFileReceived will be fired when the index file is downloaded and parsed. Of course, the associate listview control will also refresh at the same time.

Example

with MFtp1 do
begin
   if FileExists('index.txt') then LoadIndexFile('index.txt');
end;