Table of Contents
pip install edwh-files-plugin
But probably you want to install the whole edwh package:
pipx install edwh[files]
# or
pipx install edwh[plugins,omgeving]
(Arguments between < >
are required, arguments between [ ]
are optional)
edwh file.upload <path_to_file> --server [str] --max-downloads [int] --max-days [int] --encrypt [str]
path_to_file
: which file to uploadserver
isfiles.edwh.nl
by default, but can be anytransfer.sh
instance.max-downloads
: how often can the file be downloaded?max-days
: for how long can the file be downloaded?encrypt
: secret to encrypt the file with
This command outputs the upload status code, file url and deletion url.
edwh file.upload <url> --decrypt [str] --output-file [str]
url
: file url fromfile.upload
decrypt
: if--encrypt
is used infile.upload
, the same secret can be used to decrypt the file.output-file
: where to store the download
edwh file.upload <url>
url
: deletion url fromfile.upload
edwh-files-plugin
is distributed under the terms of the MIT license.