veeso / suppaftp

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

fix:ms-dos date format #84

Closed ZLATAN628 closed 4 months ago

ZLATAN628 commented 4 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 4 months ago

You're right, thanks