File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55TUS ** C** ommand line (tusc) is a small static binary for both server and client of [ tus resumable upload protocol] ( https://tus.io ) .
66
77Personally, I need tusc for uploading files in a CI process and a simple UI for downloading (like nginx autoindex).
8- The chucked and resumable feature make it possible to bypass some payload size limitation imposed by proxy (e.g. cloudflare).
8+ The chunked and resumable feature make it possible to bypass some payload size limitation imposed by proxy (e.g. cloudflare).
99Also, small size of binary make it convenient to be included in docker image.
1010
1111## Quick Start
8181Options:
8282 -r --resumable Save meta data in store for resumable uploads
8383 --store PATH Path to save meta data for resume [default: ./.tusc]
84- --chuck -size BYTE Size of chucks of file [default: 2097152]
84+ --chunk -size BYTE Size of chunks of file [default: 2097152]
8585 --override-patch-method Sending a POST request instead of PATCH [default: false]
8686```
8787
Original file line number Diff line number Diff line change 1919Options:
2020 -r --resumable Save meta data for resumable uploads
2121 --store PATH Path to save meta data for resume [default: ./.tusc]
22- --chuck -size BYTE Size of chucks of file [default: 2097152]
22+ --chunk -size BYTE Size of chunks of file [default: 2097152]
2323 --override-patch-method Sending a POST request instead of PATCH [default: false]
2424`
2525
@@ -56,7 +56,7 @@ func Client() {
5656 }
5757
5858 client , _ := tus .NewClient (conf .url , & tus.Config {
59- ChunkSize : util .GetInt64 (arguments , "--chuck -size" ),
59+ ChunkSize : util .GetInt64 (arguments , "--chunk -size" ),
6060 OverridePatchMethod : util .GetBool (arguments , "--override-patch-method" ),
6161 Resume : conf .resume ,
6262 Store : store ,
You can’t perform that action at this time.
0 commit comments