A simple fileserver written in Java
This project is still work in progress!
The program uses the http(s) protocol to interact with the client.
This includes:
- File access
- File metadata access
- User management
Commandline interface for administrative purposes:
Luka5W/FileServerCLI
This project is primary made for a Note-App (Android/Web) I'm working on (See YourNotes).
This program is tested and developed with Java 8 on a GNU/Linux system (specifically Kubuntu 18.04 LTS). I don't know (and care) if it works properly under Windows.
- Download the jar from the releases
- Execute it the first time with
java -jar FileServer_[version].jar --setup
to create the setup file. - Create a JKS file with this command:
keytool -genkeypair -keyalg RSA -alias selfsigned -keystore [filename].jks -storepass [password] -validity 360 -keysize 2048
. - Execute the server:
java -jar java -jar FileServer_[version].jar
. Add-c [filename].ini
to specify a custom config file (Step 2 would be unnecessary for that).
To get the version, execute the program with the -v
flag, for all arguments with the -h
flag.