Private repo wget download not working why?

we try to download like below but not working

wget https://hf_username:hf_token@huggingface.co/hf_username/V33/resolve/main/SINGLE_VUC-000001.safetensors

when opened from browser it works - a browser where account is logged in

why could it be?

we are getting

Resolving huggingface.co (huggingface.co)... 13.32.110.77, 13.32.110.109, 13.32.110.28, ...
Connecting to huggingface.co (huggingface.co)|13.32.110.77|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized
Authentication selected: Bearer realm="Authentication required", charset="UTF-8"
Reusing existing connection to huggingface.co:443.
HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.
1 Like

I encountered the same problem, I also received such error when downloading llama2. But I got an email telling me I was logged into huggingface.
Will you let me know if you find a solution?

i couldn’t find a direct solution

but i found another way shared here : https://twitter.com/GozukaraFurkan/status/1704987722920669421