How to get a remote image timestamp over http?

bloxa69

Active Member
Licensed User
Longtime User
I've searched everywhere, couldn't find an answer:
How to get a remote image timestamp over http from B4A?
 

bloxa69

Active Member
Licensed User
Longtime User
It looks like it's possible from a php script:
Get Remote Timestamp

So I thought there was a way of doing it from an Android app over httpconnect. I guess your answer means there is no way to check a remote image modification date unless you have a FTP connection to it?

Thank you.
 
Upvote 0

DouglasNYoung

Active Member
Licensed User
Longtime User
You can call the PHP script from B4A using HTTP and reading the result into a string.
Comparing this string with you current version - you can them decide whether you need to download or not.

Douglas
 
Upvote 0

bloxa69

Active Member
Licensed User
Longtime User
Yes Doug, as a workaround I'd probably do something in that regard. I just thought may be there was a better way.
 
Upvote 0
Top