• Server: A multithreaded Java server that handles client requests like time, file operations, and system commands.
• Client: A Java desktop app that connects to the server to send commands and receive responses.
Please do remember when you want to run the java files in NetBeans just remove the first line from the client and server java files
package serverapp; package clientapp;
Get current time (e.g., 2025-05-29 14:33:00)
Get current date (e.g., 2025-05-29)
Get current system timestamp in milliseconds
Read contents of the specified file
List all files in the current directory
Upload and save content to a new file
Delete a specific file
Get total number of connected clients
Server responds with a hello message
Shuts down the server application
Disconnects the client from server
Server echoes back the provided message
Returns number of days since given date
To use the Java desktop application given in this repository, you have to install the JDK and the other packages needed for Java development and execution. Make sure Java is properly installed and configured on your system, whether you’re using Mac or Windows. The application is packaged as a JAR file, so to run it, you must have Java associated with .jar files or use the terminal or command prompt with the java -jar filename.jar command. The JAR must include the correct folder structure and a manifest file specifying the Main-Class to ensure it runs properly. On Mac, you can install Java using Homebrew or directly from Oracle, and on Windows, you can use the official JDK installer. Also, ensure that your system allows Java applications to run and that no firewall or security settings block the application, especially if it connects to a server.