I am trying to implement the DIR command for my client server proj. When the client sends a list command to the server the server should list all the files in the files directory which is located in the same place as the server program.

If you have an idea or u know any functions i could use pelase let me know

thank u