http://www.perlmonks.org?node_id=1004669


in reply to Re: ftp folder creation date
in thread ftp folder creation date

fstat is listed as a TODO, so not exactly useful

Replies are listed 'Best First'.
Re^3: ftp folder creation date
by aitap (Curate) on Nov 20, 2012 at 17:35 UTC
    Tried to connect to my own FTP server using a commandline ftp client, couldn't get anything looking like creation date (only modification date was present) even using STAT command.
    Now I doubt whether this is possible at all.
    Sorry if my advice was wrong.

      Yes, FTP is ugly, in more than one aspect. Things get much worse when the FTP server runs on DOS, Windows or Netware. The "human readable" output often is readable, but far from anything you would expect from an FTP server running on Unix.

      baskar_79, could you connect using SSH and use SFTP instead? SFTP has atime/mtime/ctime, since at least version 4 (dated 2002). As a nice side effect, you get encrypted transfers and you could switch from passwords to public key authentication.

      Alexander

      --
      Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)