Android Question How to check if a file exist online before download?

ginsh

Member
Licensed User
Hi,

Anyone please let me know How to check if a file exist online before download when using HttpUtils2?
 

ThRuST

Well-Known Member
Licensed User
Another workaround is to download the file in a try catch and then check if the file exists locally by using a timer.
Would be rather effective for smaller files. Perhaps not the best solution but a working alternative.
 

ilan

Expert
Licensed User
Top