I am writing FTP client that should work for at least Windows and Linux FTPs. BUt before I proceed, I want answer to these questions.
- In which order files are listed when FTP
ls -lt
command is used for the FTP server on the Linux? - Is there any specific format/logic in which all Linux FTP servers provide the list of files? e.g. DateTime stamp is going to be there always and files are listed in the descending order of the "date modfied" or something like this.
- In which order files are listed when FTP
ls -lt
command is used for the FTP server on the Windows? - Is there any specific format/logic in which all Windows FTP servers provide the list of files?
- Can you direct me to some documentation which helps to understand this? Is there any standard defined for this?
Note: I tried command on Windows and Linux FTP servers but I could not figure out any specific logic/format.