Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With lftp, when I do ls I get the listing of the files on the FTP server, with their date. However, the timezone is not displayed.

On my local machine, I can do ls -l --time-style=full-iso to see the timezone, but this command doesn't work with lftp.

Generally speaking, does the FTP protocol allow for server timezone discovery?

When I do a file listing (ls), how can I see which timezone the date is supposed to be?

share|improve this question
up vote 4 down vote accepted


The FTP protocol, misdesigned as it is, doesn't include time zone information. This means client programs have to guess what the time zone of the server is. At least my programs aren't good in guessing, so they don't even try. ftpcopy simply assumes UTC (GMT, greenwhich mean time).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.