veeso / suppaftp

a super FTP/FTPS client library for Rust with support for both passive and active mode
Apache License 2.0
121 stars 31 forks source link

fix:ms-dos date format #84

Closed ZLATAN628 closed 5 months ago

ZLATAN628 commented 5 months ago

My Windows FTP server responds to the LIST command with data formatted like this : "12-20-22 02:45PM

games" This causes a date parsing error, According to Microsoft documentations, the standard dateformat should be month-day-year . Reference : https://learn.microsoft.com/en-us/windows/win32/sysinfo/ms-dos-date-and-time

veeso commented 5 months ago

You're right, thanks