adhocore / tusc.sh

tus 1.0.0 client protocol implementation for bash. Resumable large file upload to Tus sever from terminal using bash script
https://github.com/adhocore/tusc.sh
MIT License
36 stars 9 forks source link

curl: (6) Could not resolve host: Bearer | "You can pass in anything after -- as extra curl parameter" #18

Closed dw5 closed 1 year ago

dw5 commented 1 year ago

image

sure... EVERYTHING! sadly even the example doesn't seem to work

image

and yes, all dependencies are there. image

adhocore commented 1 year ago

it was tested feature, the parts after -- are passed as curl args https://github.com/adhocore/tusc.sh/blob/main/tusc.sh#L181

may be it is platform/portability issue or something. where did you run it?

adhocore commented 1 year ago

can you try with quotes?

tusc -H 0:1080 -f ww.mp4 -b /store/ -- "-H 'Authorization: Bearer <token>'"