[Gambas-user] best way to monitor remote URL/file in gambas2
Doriano Blengino
doriano.blengino at ...1909...
Tue Oct 13 08:51:27 CEST 2009
M0E Lnx ha scritto:
> @ Benoit
> I'd be monitoring other people's URLs.. not mine, so that would be out
> of my control.
>
(About http check command)... But this mechanism is an http standard
functionality, and even proxies must (should) have support for it.
Otherwise, there is no other way than to download the whole URI (which
hopefully is a file listing generated by the web server), and compare it
with a previous one. There are only two choices. But the second one is
not difficult, apart from the fact that sometimes web servers put a nice
"Generated by Apache blah blah blah on <date>" at the bottom of the
listing, which makes every listing different from the one generated some
time before...
Regards,
Doriano
More information about the User
mailing list