Hello Micah, Micah Cowan <[email protected]> writes:
> One could always save away timestamp and length information (and > possibly a checksum) from the original, and then compare afterwards to > see if there was a change. Not ideal, I agree, but personally I dislike > the idea of adding command-line flags to change what the exit statuses > will mean, particularly since in wget's case there may be a good variety > of similar cases. Of course, if Giuseppe wants to do that, it's his call. I agree with you that we shouldn't influence the return code with command-line flags. What you have suggested works well, even if it is not the optimal way, it can be used until wget doesn't support external programs execution. Using a checksum looks like a good idea in any case; the server may report the file as changed even if it contains the same data and in this case you don't want to trigger the event. Cheers, Giuseppe
