On Mon, 10 Oct 2005, Hrvoje Niksic wrote: > And that's assuming that all servers support MDTM/SIZE, which I'm not > sure is a given. Not at all sure.
That's assuming some of them do, as it's known not all do. But these commands have been invented exactly for machine-processing, so they should be used to avoid the pain and also to encourage people writing servers to include them. AFAIK even original Netscape Navigator (i.e. probably some ten years ago) used them, so it's not that they are of interest for some corner cases only. > But if we assumed "reasonable FTP servers" then the current parser > would work as well. Well, a server may give strange formatting of LIST -- and don't forget the output is supposed to be human-readable, so it may be in a non-C locale too -- but still support MDTM/SIZE and NLST as expected. Maciej
