Niklas Gustavsson wrote:
On Thu, Oct 9, 2008 at 12:02 PM, Andrea Francia <[EMAIL PROTECTED]> wrote:
A "nicer" implementation could choose to returns the files in alphabetical
order, even if I doubt this will be always "nice". The preferred ordering
depends by the client and it's purpouse. For example for client which
incrementally backup files could prefer the modification time ordering.
As already discussed, I don't think we should argue about what order
FtpServer should return to the client, it pretty much has to be
ordered. There is no way for the client to specify ordering in FTP and
as Dave said, all servers I've used follow this convention.
About FtpServer default implementation, yes, it should returns ordered
list, I agree.
About my embedded customized ftp server, I think that I should choose
what to do.
The ordered list clause is contained in the Ftplet interface not in the
ftpserver default implementation.
The discussion on what part of the server (core or the file system
implementation) that should do the ordering is of more interest.
I agree with you with the fact that the ftplet implementation is the
best place where implement the ordering.
But specific ftplet implementation should be free to choose to order the
files names or not.
--
Andrea Francia
http://andreafrancia.blogspot.com/2008/07/colinux-linux-dentro-windows.html