hfiref0x / LightFTP

Small x86-32/x64 FTP Server
BSD 2-Clause "Simplified" License
232 stars 83 forks source link

NLST command. #34

Closed 0hip closed 4 months ago

0hip commented 5 months ago

NLST: command added

LIST: file size aligned (console clients in windows) "mm dd hh:mm" when at current year, otherwise "mm dd yy"

NLST/LIST: handling commands like: LIST -a /some/folder NLST -a /another/folder PD: if( char[0] == '-' ) . . . idea borrowed from LightFTP v1.0

UldisRinkevichs commented 5 months ago

Please do not alter list_sub year output logic. "180 day delta" year display is the right behavior in sync with unix "ls" command output logic, not just dumb "current year".