Thanks, Tom. I thought that libcurl should have something like, but I
hadn't found it
yet. Given the command line argument you've provided it should be pretty easy to
figure out now.

...jerry


On Wed, Jul 28, 2010 at 1:30 PM, Tom Hayward <[email protected]> wrote:
>> One item that will be useful at some point is the ability to grab to latest
>> tile if there has been a change to it.
>
> This is a good point. I haven't worked much with libcurl, but
> command-line curl has the ability to look at a local file and generate
> an HTTP If-Modified-Since header, so if the tile has not changed, the
> server should respond only with 304 Not Modified. This is the curl
> command:
>
> curl -z local.html http://remote.server.com/remote.html
>
> The download only gets performed if the remote file is newer than the
> local copy.
>
> If libcurl supports this, this feature could be augmented to the
> current tiling functions pretty easily.
>
> Tom KD7LXL
> _______________________________________________
> Xastir mailing list
> [email protected]
> http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir
>
_______________________________________________
Xastir mailing list
[email protected]
http://lists.xastir.org/cgi-bin/mailman/listinfo/xastir

Reply via email to