cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Time-style in ftp listing

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 14 Oct 2011 21:59:45 +0200 (CEST)

On Fri, 7 Oct 2011, Jonas Heinrich wrote:

> is it possible to change the time format of the ftp file listing in curl?

Not really, as curl just shows the listing as provided by the server (when
curl issues LIST or NLST) and that format is not standard in any way.

> With the command 'ls' it's possible to do that, but how in curl?

ls can only do that repliably if it can use the (more modern) MLSD command,
which you can ask curl to use with the -X option but it isn't a very
human-friendly format.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-14