Net::FTP listing of directory

Discussion in 'Perl Misc' started by mike, Feb 21, 2004.

  1. mike

    mike Guest

    hi

    can the standard Net::FTP list out the files in a directory with
    timestamp?
    tHat is there is a listing of the files as well as the timestamp of
    the files, much like that of "ls -ltr" ??
    thanks
    mike, Feb 21, 2004
    #1
    1. Advertising

  2. mike

    Tony Curtis Guest

    >> On 20 Feb 2004 20:11:17 -0800,
    >> (mike) said:


    > hi can the standard Net::FTP list out the files in a
    > directory with timestamp? tHat is there is a listing of the
    > files as well as the timestamp of the files, much like that
    > of "ls -ltr" ??


    It all depends on what the remote ftp server is prepared to
    do.

    But Net::FTP::dir() is probably your best bet.
    Tony Curtis, Feb 21, 2004
    #2
    1. Advertising

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. Tim_Mac
    Replies:
    2
    Views:
    353
    Tim_Mac
    Dec 15, 2005
  2. Replies:
    3
    Views:
    5,595
  3. Vin Raja

    FTP : Time problem (net/ftp)

    Vin Raja, Jun 7, 2007, in forum: Ruby
    Replies:
    0
    Views:
    92
    Vin Raja
    Jun 7, 2007
  4. Ari Brown

    Net::FTP and ftp.dir()

    Ari Brown, Jul 16, 2007, in forum: Ruby
    Replies:
    0
    Views:
    76
    Ari Brown
    Jul 16, 2007
  5. D. Buck
    Replies:
    2
    Views:
    458
    D. Buck
    Jun 29, 2004
Loading...

Share This Page