Opened 17 years ago

Last modified 11 years ago

#1317 closed Bug report

MFMT + LIST problem

Reported by: zirya Owned by:
Priority: normal Component: FileZilla Server
Keywords: Cc: zirya, Tim Kosse
Component version: Operating system type:
Operating system version:

Description

If server clock is a little bit ahead client's one during the synchronization with MFMT command, than these lines will cause no time shown in the following LIST command reply, because t1 > t2.

if (t1 > t2
(t2-t1) > ((_int64)1000000*60*60*24*350))

pResult->len += sprintf(pResult->buffer + pResult->len, " %d ", sFileTime.wYear);

else

pResult->len += sprintf(pResult->buffer + pResult->len, "%02d:%02d ", sFileTime.wHour, sFileTime.wMinute);

The question is, what are these lines for? Isn't it easier to show both year and time always?

Change History (1)

comment:1 by Tim Kosse, 17 years ago

With the normal "ls -l" -like listing format, only year _or_ time is possible, but not both at the same time. For files older than a certain age (older than a year) or for files dated in the future, a year has to be used, otherwise the client cannot figure out the date of the file.

Please synchronize your clocks or use the MLST command to list directories.

Note: See TracTickets for help on using tickets.