Skip to content

retheviper/FileTransporter

Repository files navigation

File transporter

TL;DR

A simple file transfer service by Full Stack of Kotlin.

Screenshot

File Transporter screenshot

Used

How to run

Edit config/application.yaml first if you want to change the shared root folder or upload size limit.

Run the following command:

./gradlew run

Then, you can access to http://localhost:8080 or http://0.0.0.0:8080.

Configuration

The server reads its external YAML config from config/application.yaml by default.

storage:
  rootDirectory: "."

upload:
  maxFileSizeBytes: 1073741824
  • storage.rootDirectory: base directory exposed by the file browser
  • upload.maxFileSizeBytes: maximum allowed upload size in bytes

You can also point to a different config file:

./gradlew run -Dfile.transporter.config=/absolute/path/to/application.yaml

For temporary overrides, these system properties are also supported:

./gradlew run -Dfile.transporter.root=/absolute/path -Dfile.transporter.upload.maxFileSizeBytes=52428800

References

About

A simple file transfer service.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors