Sign inSign up

cqse/file-upload

By cqse

•Updated almost 9 years ago

Utility to allow uploading files to servers when file shares are not an option

Image
0

1.0K

cqse/file-upload repository overview

  • Set the environment variable PASSWORD.
  • Mount /opt/upload/data as a volume to access the uploaded files
  • Map port 5000

Upload must be via HTTP POST. Parameters:

  • file: the file to upload
  • password: the password
  • optional name: the name or subpath under which to place the file, e.g. some-inbox/file.txt. If not given, the data from the uploaded file is used

E.g. with curl:

curl -v -XPOST [email protected] -Fpassword=SECRET
-Fname=foo/bar.txt localhost/upload/

Tag summary

Content type

Image

Digest

Size

32.7 MB

Last updated

almost 9 years ago

docker pull cqse/file-upload