Skip to content

huulie/NU-MOD2_FinalAssignment

Repository files navigation

NU-MOD2_FinalAssignment: FileTransfer server/client

Final assignment of Nedap University module 2

Introduction

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).

Installation instruction

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

FileTranser server

locally

  • 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.

on a Raspberry Pi

  • 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)

FileTransfer client

  • 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.

About

Final assignment of Nedap University module 2

Resources

Stars

Watchers

Forks

Packages

No packages published