|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: ftp folder creation dateby aitap (Chaplain) |
| on Nov 19, 2012 at 17:30 UTC ( #1004587=note: print w/ replies, xml ) | Need Help?? |
|
That's not so easy. FTP has two ways of transferring file lists: NLST, which transfers only names (and is used in $ftp->ls) and LIST (which can be got using $ftp->dir), which is human-readable and is not described in RFC. The second one can contain the needed dates, but you can have troubles decoding it. (see the RFC 959 for details) Use Net::FTP::File to get parsed values from LIST command.
Sorry if my advice was wrong.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||