Remove All Ads from XDA

[APK] wget - Download files protected with HTTP basic auth

8 posts
Thanks Meter: 1
By Htcg, Junior Member on 22nd March 2014, 09:58 AM
Post Reply Email Thread
Hi all!

Since 2008 it is known a bug in stock browser of Android.
As written here: Android doesn't support HTTP Basic Auth (401).
This is a problem beacuse an user can't download a protected resource. Only with third party browsers (such Firefox or Opera) it's possible to download a protected file.
So, I've written an application to download all files type, both protected or not.
The object I've used to perform the HTTP request is HttpURLConnection, for more details see the code.

The files are downloaded to /sdcard/Download.
This app require Android 2.2 or higher.

Link to the project:

Everyone is invited to improve this code because I've written it fast, so it isn't so good.

I hope that this applications can help you
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes