Parse file.

Giganews Newsgroups
Subject: Parse file.
Posted by:  Liam Mullane (STOPSPAM.lmulla…@dairymaster.com)
Date: Mon, 28 Jun 2004

Hi,

I'm using Indy V9 FTP component. I have the following code that lists all
files on the directory.
How do I parse these files (using a unix FTP server) to get the
FileName,Size,DateTime etc.

TStringList *LS = new TStringList;
IdFTP1->Connect(true,10000);
IdFTP1->List(LS,"*.*",true);
DirectoryListBox->Items->Assign(LS);
IdFTP1->Disconnect();
delete LS;

thanks in advance,
Liam Mullane.

Replies