Browse Source

added example

admin 2 months ago
parent
commit
9bec7c56f3
1 changed files with 9 additions and 0 deletions
  1. 9 0
      README.md

+ 9 - 0
README.md

@@ -15,3 +15,12 @@ cp .env.template .env && vi .env
 mkdir -p      ./data/files ./data/temp
 chown -R 5000:5000 ./data/
 ```
+
+## Usage
+```
+# Upload
+curl --upload-file somefile.zip https://transfer.example.com/somefile.zip -u "someuser:somepassword"
+
+#Download
+wget https://transfer.example.com/get/randomKey/somefile.zip
+```