Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 519 Bytes

README.md

File metadata and controls

23 lines (12 loc) · 519 Bytes

http PUT and GET file server

What ?

An simple http server built in rust with rocket.rs.

Why ?

To allow uploading and reading arbitrary large files located at arbitrary paths by streaming them end-to-end.

How ?

Upload $FILE to the server and name it with a random UUID of my chosing in a folder named after me:

curl -T $FILE "localhost:8000/$(whoami)/$FILE"

Get the file:

curl "localhost:8000/$(whoami)/$FILE" -o $FILE

Delete the file:

curl -X DELETE "localhost:8000/$(whoami)/$FILE"