On Mon, Oct 11, 2010 at 2:04 AM, Pete <[email protected]> wrote:

> but I am still having the same problems - I am trying to use the
> methods (mtime etc) to access the timestamp information that is
> initially being returned as the rescue statement 'Invalid date/time in
> zip entry'

What exactly is it that's returning that statement?

> All I need to do is be able to access this 'invalid date/time' entry,
> but none of the 'time' methods seem to return this.

I'm sure they don't. If, as I suspect, you're getting that message when
you use 'unzip' from the command line, that message is coming from
that specific program.

I would imagine you'll have to write your own method to examine the
timestamps of the files in the zip and decide whether they meet your
criteria for "invalid".

FWIW,
-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to