in reply to Parsing FTP ls command results

People would be able to help you more if you showed us what you've already tried, and explain how the results differ from what you expect and from what you want.

I would also note that the text you get back from ls is dependent on both the server OS and the particular ftp server in use. It might even, because of ftp's "helpful" line ending conversion, depend on the client OS too.