Final assignment of Nedap University module 2
This repository contains a FileTransfer server (to run locally on a laptop or remote on a Raspberry Pi) and a FileTransfer client (to run locally on laptop).
Take care: this program only works if you have Java 11 installed. Please install Java 11 if necessary.
An "Unable to access jarfile" error may be solved by placing the file in another folder
- download the FileTransferServer-1.0.0.jar and all other files with server in their names (see releases)
- start the server by navigating to the folder containing the FileTransferServer-1.0.0.jar. Then type:
java -jar FileTransferServer-1.0.0.jar
and answer the questions in the terminal.
- install the Pi according to these instructions: https://github.com/nedap/nu-module-2/blob/master/pi_setup/setup.md
- clone this repository to your local machine, connected to the same network as the Pi.
- edit the build.gradle: add the Pi's hostname or IP on the indicated line.
- now automatically deploy to the Pi with
./gradlew deploy
(on unix/linux systems)
- download the FileTransferClient-1.0.0.jar and all other files with client in their names (see releases)
- start the server by navigating to the folder containing the FileTransferClient-1.0.0.jar. Then type:
java -jar FileTransferClient-1.0.0.jar
and answer the questions in the terminal.