Connecting to a web server would be the optimal solution but as the
product is for a number of schools including central Australia, this
may not be feasable in terms of cost or bandwidth with the proposed
solution running on a number of computers. There are a number of
schools still on dial-up where access to the server would not always be
accessible.

Thanks.

Christian Biesinger wrote:
> James Newell wrote:
> > Investigating your described method, it seems jar/zip files do not
> > contain individual file's added/created, modified etc dates? For a
> > chrome file located in a jar file, nsIZipEntry would have to be used,
> > however the zip entry interface has no date properties or methods.
>
> ZIP files do store the last-modified date:
>
> $  unzip -l test.zip
> Archive:  test.zip
>    Length     Date   Time    Name
>   --------    ----   ----    ----
>          0  10-25-06 23:04   testfile
>   --------                   -------
>          0                   1 file
>
> I don't know if they store any other times than last-modified. And it's
> possible that you can't access that information via Mozilla APIs.
>
> If all you want to do is verify that the user didn't set his clock back,
> wouldn't it be easier to ask a web server for the current date/time?
>
> --
> All the world's a stage,
> And all the men and women merely players:
> They have their exits and their entrances;
> And one man in his time plays many parts, [...]     --W. Shakespeare

_______________________________________________
dev-tech-network mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-network

Reply via email to