How to proper list files in ftp

Discussion in 'Ruby' started by Davi Barbosa, Nov 3, 2008.

  1. Davi Barbosa

    Davi Barbosa Guest

    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?
    --
    Posted via http://www.ruby-forum.com/.
     
    Davi Barbosa, Nov 3, 2008
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. someone

    FTP over SSL vs FTP over SSH

    someone, Apr 24, 2004, in forum: Java
    Replies:
    1
    Views:
    4,869
    iksrazal
    Apr 25, 2004
  2. Replies:
    3
    Views:
    6,551
  3. eels

    ftp: get list of files

    eels, Feb 7, 2006, in forum: Python
    Replies:
    4
    Views:
    9,912
    Paul Watson
    Feb 9, 2006
  4. =?Utf-8?B?QmlsbA==?=

    How to get a list of only the files on an ftp server

    =?Utf-8?B?QmlsbA==?=, Mar 20, 2007, in forum: ASP .Net
    Replies:
    7
    Views:
    1,350
    =?Utf-8?B?QmlsbA==?=
    Mar 21, 2007
  5. Anders Eriksson

    List all files using FTP

    Anders Eriksson, Mar 6, 2008, in forum: Python
    Replies:
    4
    Views:
    386
    Giampaolo Rodola'
    Apr 30, 2008
  6. Astra

    Proper FTP manager required

    Astra, Feb 10, 2006, in forum: ASP General
    Replies:
    0
    Views:
    143
    Astra
    Feb 10, 2006
  7. Vetrivel Vetrivel
    Replies:
    1
    Views:
    165
    Vetrivel Vetrivel
    May 26, 2009
  8. D. Buck
    Replies:
    2
    Views:
    959
    D. Buck
    Jun 29, 2004
Loading...