A simple telnet-like server.
INSTALLATION
- Clone the repository or get the code somehow.
- Ensure you have Java and Maven (minimum 2.2.1) setup correctly.
- Run 'mvn clean install'.
- That's it.
RUNNING THE SERVER
- Use the following command:
java -jar {name}-jar-with-dependencies.jar -port {port-number}
- The server will start listening on the given port if it's empty.
- Now you can connect to the server and start using the commands.
STOPPING THE SERVER
Use Ctrl+C or the 'stop' command.
CAPABILITIES
The server provides the following basic commands:
- ls - list the contents of a directory.
- pwd - prints the working directory.
- cd - changes to a directory for navigation.
- mkdir - creates a directory.
The usage of the commands is shown in the greeting message from the server and every time after a wrong command.
FUTURE PLANS
- Implement proper stopping of the server, e. g. using a stop.jar.