To run this sample, you need to execute:
- sbt run
- 1 in order to run MainClient.scala
- 2 in order to run MainServer.scala
Available commands:
- DIR - show all directories inside server folder
- PWD - prints working directory
- PUT {full_path_to_file}- puts file to the server
- GET {file_name_in_current_directory} - downloads file from server
- CD {directory_name} - changes directory
Client and Server codes contains some places where I didn't place try-catch blocks, so application may crash. 😕
Also, there is no JavaDoc for methods and classes. 😔
Have a Good Luck 😇