commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrian Mitev" <adrian.mi...@googlemail.com>
Subject Re: How to obtain a file last modification date
Date Thu, 03 Jan 2008 10:58:20 GMT
Another option is to create checksum of the file and on new file upload to
compare the checksums.

2008/1/2, Simon Kitching <simon.kitching@chello.at>:
>
> ---- "Inma MarĂ­n" <inma@dif.um.es> schrieb:
> > Hi all,
> >
> >
> >
> > I would like to know how to get a file last modification time, if it is
> > possible. The file is included in a multipart request and is obtained as
> > follow:
>
> I do not think this is possible.
>
> The only way to get a file upload to happen is by sending a standard HTML
> tag that *requests* the remote browser to prompt the user for a file. The
> browser then sends back whatever information it thinks is appropriate; this
> does include the filename but I don't think it includes much else.
>
> The server has no way to *force* the browser to send more data.
>
> I suggest you use firefox with the "live http headers" plugin; you will
> see what firefox sends back to the server.
>
> Regards,
>
> Simon
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>


-- 
Regards
Adrian Mitev

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message