wxFTP::GetDirList - parsing output

Armel Asselin armelasselin at hotmail.com
Wed Dec 13 06:42:47 PST 2006



""sfniks sfinks"" <sfinks2 at gmail.com> a écrit dans le message de news:
f82af1830612130529i4f9e1b7dw8a3b012b9531bf1d at mail.gmail.com...
> Hi.
>
>>From the search in ml archives and wxftp documentation it seems that wxFTP
> has no way to parse output from wxFTP::GetDirList .
> And if I understand it correctly then ftp protocol as suchs hash no
> standardized way to pass files metadata.
>
> NLST command gives list of filenames only, without any othermetadata
> wxFTP::GetFilesList represents, I think,  LIST command , which basically
> can
> give any output.
>
> Anyway, since wxFTP has no way to parse LIST output, maybe someone can
> just
> suggest a good clean and comfortable way to do this.
>
> Thanks in advance...
there is a widely used 'ftpparse' library, there are also c++-ized version 
here
and there.

Armel









More information about the wx-users mailing list