How to proper list files in ftp


I need to list all files in a ftp server, with the size and full path.
I tried Net::FTP, but it only gives lines which needs to be decode to
get the size, to know if it is a directory, etc. And it looks like the
date format depends on the ftp server.
Is there a ruby way to do it?