# How to proper list files in ftp

**URL:** <https://www.ruby-forum.com/t/how-to-proper-list-files-in-ftp/152417>\
**Category:** Ruby\
**Created:** [November 3, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/how-to-proper-list-files-in-ftp/152417 "2008-11-03T19:24:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmjb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/898d66/32.png) [@dmjb](https://www.ruby-forum.com/u/dmjb)\
**Post date:** [November 3, 2008, 7:24pm UTC](https://www.ruby-forum.com/t/how-to-proper-list-files-in-ftp/152417/1 "2008-11-03T19:24:32Z")

</div>

Hi,  
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?
