Post Reply

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

OP Htcg

22nd March 2014, 10:58 AM   |  #1  
OP Junior Member
Thanks Meter: 1
8 posts
Join Date:Joined: Sep 2012
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
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes