Emmanuel Lecharny wrote:
Andrea Francia wrote:
I don't agree. The ordering is beneficial to all the clients that
don't support it and harmful to none.
It's harmful for those ftplet implementations that are not designed
to be used for any clients and don't want implement ordering.
It could be a suggestion but il should not be a MUST requirement.
At this point, I think we are starting to split hairs...
In your specific cas, why don't you simply scramble the file names
when you get them, so that they are unordered ?
I can do that.
But I will improve the documentation in a way that the ftplet
implementor can knows without reading the ftpserver-core code that the
ordering is not compulsory.
There are some API (for example those based on binary search) that
require ordered daata and enters in a infinite loop if you provide an
unordered data. This is not the case, but I don't want that a ftplet
implementor should waste time thinking if this is the case.
--
Andrea Francia
http://andreafrancia.blogspot.com/2008/07/colinux-linux-dentro-windows.html