Fetch Download with Password

Hi,

I want to download something from an Apache2 server. I gave the server a user and password using htpasswd. But I always get error 501. Why? The password etc. is definitely correct, do I need to rewrite the password in code64?

/tool ​​fetch url=test.test.com mode=https user=USERNAME password=PASSWORD dst-path="latestVersion.txt" keep-result=yes

too much parameters, avoid mode and url at the same time.
You must specify correct URL. What you write is not a URL.