Skip to content

An http server in rust/c++ for uploading files and download them

Notifications You must be signed in to change notification settings

ImHoppy/http-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a simple server with two endpoints:

  • /upload - accepts a file upload via FormData and stores it in the uploads directory, returning the file hash
  • /file/<hash> - returns the file with the given hash

Build

You will need rust and cargo. To run the server, run cargo run in the root directory. You can also change the default port of 8080 via the env variable PORT.

About

An http server in rust/c++ for uploading files and download them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published