you must be using old version of wget i had same issue. i was using wget 1.12.so to solve this issue there are 2 way:
Update wget or use curl
curl -LO 'https://example.com/filename.tar.gz'
you must be using old version of wget i had same issue. i was using wget 1.12.so to solve this issue there are 2 way:
Update wget or use curl
curl -LO 'https://example.com/filename.tar.gz'