Board index » delphi » Indy 8.1 Beta - IdFTPList
Ashley Brown
![]() Delphi Developer |
Fri, 03 Oct 2003 03:36:48 GMT
Indy 8.1 Beta - IdFTPList
I'm using the FTP list parsers from Indy 8.1 for an application that I'm
writing (www.ashleybrown.co.uk/dotedit). In tests it seemed to work fine, but on a couple of servers it failed with "Invalid Argument to Date Encode". Obviously the parsing was wrong - the servers in question were Unix, just like some of the others I'd used. On inspection, the Indy Beta code assumes the length of the directory list elements: ------------------ // Copy the predictable pieces // Scan for the rest // Scan size ... ------------------ ------------------ // Scan for the rest LOwner := Fetch(LBuffer); LGroup := Fetch(LBuffer); // Scan size It now works fine on every server that I've tested with. Regards, |