I've been given an assignment to write a client/server program where the client sends the name of a file to the server and the server replies with the file attributes(size, permissions etc.) I've written the client and server already but cant find how to get the files attributes. This will only be run on linux if that helps. Any idea how to get the attributes? Thanks in advance.