How do you fix the 403 forbidden issue when downloading with wget?

Hello.

I have noticed that whenever trying to download files from the server using wget on Debian 9 Stretch, I always seem to get a 403 forbidden issue, despite being able to download the file just fine from a graphical browser.

Can this be fixed, and if so, how? Also, is there a way to only allow certain types of files to be downloaded?

Thank you very much :slight_smile:
Have a nice day!

I’m sorry, but that can’t be “fixed”. It’s caused by a security system which is enabled on all websites, which is documented here: https://infinityfree.net/support/javascript-error-using-api-or-mobile-android-app/

In short, it boils down to the fact that we provide a website hosting service, not a file sharing service. That means that our hosting is intended to be used to host content to be viewed as web pages in a browser, not to provide files for download. There are specialized file sharing services which work far better for that purpose.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.