On most Unix / Linux-based ftp servers, the ls is associated with the actual ls . That's why all the other answers say use ls -t , maybe a few more options.
However, since you are using a Windows computer as your server, it is much more difficult to say exactly how the team will work. I do not believe that Windows comes with an FTP server by default. I know that many sites use third-party FTP services on their Windows machines. It depends on the software used by your Windows machine and how it was configured:
Try something like this:
ftp> dir /O:D
or
ftp> ls /O:D
They use Windows options for the built-in dir command.
source share