control of File List sort order

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
allenbi
500 Command not understood
Posts: 2
Joined: 2019-05-11 17:45
First name: Bill
Last name: Allen

control of File List sort order

#1 Post by allenbi » 2019-05-11 17:52

I am using FileZilla FTP Server to support a manufacturing environment. The client side of the arrangement is in PLC control based FTP clients. To the best of my knowledge, these have no way to provide options for changing the sort order of file lists in the way one might from a DOS prompt FTP connection by providing parameters to the ls or dir commands. Is there a way from the FileZilla server configuration to control the output sort order that a client would see when a listing of files is requested, or is that strictly dependent on the ftp client capabilities? I believe it is the later, but need to confirm this one way or the other. Thanks for any feedback on this. :)

Best Regards
allenbi

User avatar
boco
Contributor
Posts: 26914
Joined: 2006-05-01 03:28
Location: Germany

Re: control of File List sort order

#2 Post by boco » 2019-05-11 21:19

It's the latter. The server sends the list as the OS API puts them out, the client is supposed to sort it. There is no guaranteed order of files in the lists sent by an FTP server.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

allenbi
500 Command not understood
Posts: 2
Joined: 2019-05-11 17:45
First name: Bill
Last name: Allen

Re: control of File List sort order

#3 Post by allenbi » 2019-05-11 21:45

Ok, thanks for confirmation of that. It is what I thought.

Best Regards,
allenbi

User avatar
botg
Site Admin
Posts: 35509
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: control of File List sort order

#4 Post by botg » 2019-05-13 06:58

Assuming the server would do the sorting, what would be the correct sorting anyhow? It is highly locale-specific, varying from language to language and country to country. This is why it needs to be done client-side, the server simply cannot know where the client is located.

Post Reply