From 33594bbc59a8a7e63f265af8d22d2e6c1147afdf Mon Sep 17 00:00:00 2001 From: opyale <64696032+opyale@users.noreply.github.com> Date: Tue, 19 May 2020 00:13:56 +0200 Subject: [PATCH] Uploading multiple files (README) (#7) * First changes. * Fixing typo. * Making improvments. * Removing unnecessary code. * Improvements and code formatting * Additional formatting. * First changes. * Fix * Minor improvements. * RM else Co-authored-by: 6543 <6543@obermui.de> --- Readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index e47b3c6..f0f7795 100644 --- a/Readme.md +++ b/Readme.md @@ -30,6 +30,12 @@ pipeline: target: PLUGIN_PASSWORD ``` +## FAQ + +#### How do I upload multiple files at once? +Since this script uses **curl** to upload your files, you can use it's corresponding syntax.
+An example, taken from the official [documentation](https://curl.haxx.se/docs/manpage.html#-T), would be to pass ``{dogs.png,cats.jpg}`` to ``PLUGIN_FILE``. + ## Customization The following environment variables can be used for further cutomization: @@ -39,4 +45,4 @@ The following environment variables can be used for further cutomization: | ``PLUGIN_PROXY_URL`` | May be used to specify a proxy (e.g. ``socks5://{ip_address}:{port}``) | | ``PLUGIN_TIMEOUT`` | Defines a timeout (in seconds) to stop the upload after a certain time. | | ``PLUGIN_ATTEMPTS`` | Defines how often a failed upload should be retried. Normally there is only one upload attempt. | -| ``PLUGIN_CUSTOM_ARGUMENTS`` | Additional arguments to be passed to `curl`. | +| ``PLUGIN_CUSTOM_ARGUMENTS`` | Additional arguments to be passed to `curl`. |