Re: [Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-13 Thread Doriano Blengino
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

Re: [Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-13 Thread Doriano Blengino
M0E Lnx ha scritto: All I want is to compare the contents. For exmple, say yesterday I checked ftp://ftp-osl.osuosl.org and it reported this foo/ bar/ And today, I check again and it has foo/ bar/ foo-bar-1.0.tar.gz I Want to be able to detect the new foo-bar-1.0.tar.gz Yes, this is

Re: [Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-13 Thread M0E Lnx
That sounds exacly like what I need. If anyone has an idea how to implement that into a gambas program, please shoot. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you

[Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-12 Thread M0E Lnx
I'm trying to figure out a way to do this guys. I want an application that can monitor a remote file or URL. For example, the following url http://irssi.org/files/ I want to run the program, and notify me if the contents of that dir have changed since the last time it was checked. The

Re: [Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-12 Thread Jussi Lahtinen
Download file list with shell and wget, and compare it to older? Jussi On Mon, Oct 12, 2009 at 18:34, M0E Lnx m0e@gmail.com wrote: I'm trying to figure out a way to do this guys. I want an application that can monitor a remote file or URL. For example, the following url

Re: [Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-12 Thread Jussi Lahtinen
So, you need to know is individual file added, changed, etc.? I you don't, you can compare wget results with diff or md5sum. Jussi On Mon, Oct 12, 2009 at 19:01, M0E Lnx m0e@gmail.com wrote: Yeah.. but even then doing that gives me a lot of raw contents to read which is exactly what I'm

Re: [Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-12 Thread Benoît Minisini
Yeah.. but even then doing that gives me a lot of raw contents to read which is exactly what I'm trying to avoid. The HTTP protocol has commands to check if an URL has been updated. Does your web server handle that with your URL? -- Benoît Minisini

Re: [Gambas-user] best way to monitor remote URL/file in gambas2

2009-10-12 Thread M0E Lnx
@ Benoit I'd be monitoring other people's URLs.. not mine, so that would be out of my control. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this