Opened 17 years ago

Last modified 17 years ago

#1251 closed Bug report

MFMT does not accept time with hours == 0

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

Description

FileZilla 0.9.23:

"MFMT 20070319003137 file.dat" fails with "invalid date" message. It appears, that it does not accept 00:31:37 as a valid time - if I replace the 00 by 01, for instance, it works.
"MDTM file.dat", on the other hand, returns 20070319003137 if the file date has been set by other means (copying by explorer :-)).
Thanks

Change History (2)

comment:1 by uk041103, 17 years ago

Well - just had a short look at the source. The bug is probably due to a typo in ControlSocket.cpp:2565
--

if (year < 1000 minute > 59
month < 1 month > 12 day < 1 day > 31 hour < 1 hour > 31
second > 59)

--
Note the '31', too!

comment:2 by Tim Kosse, 17 years ago

Thanks for reporting. This problem will be fixed in the next
version.
A fix has been commited to the CVS repository.

Note: See TracTickets for help on using tickets.