Skip to content

docteurklein/http-put-file-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"

About

Share files using http PUT and GET

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published