Simple one time upload and download share service
I sometimes have to exchange large files with people who can't use dedicated services and protocols, such as Dropbox, syncthing or ssh.
go-upload
provides :
- an HTML file upload form
- a 20 sloc or something daemon to handle upload and streaming to file on disk and serving from...
- the
uploads
http.Dir
That's all, there is no authentication, no protection from overwriting existing files, nothing.
- Git clone the repo
go run main.go
- point a browser to http://host:8080/
- uploads
foobar.txt
- wait for the upload to finish
- grab the file from
http://host:8080/uploads/foobar.txt
or theuploads
dir on the server