[jcifs] Get file last access time

Michael B Allen ioplex at gmail.com
Tue Mar 9 15:03:53 MST 2010

On Tue, Mar 9, 2010 at 3:25 PM, Caldarale, Charles R
<Chuck.Caldarale at unisys.com> wrote:
>> From: jcifs-bounces at lists.samba.org [mailto:jcifs-
>> bounces at lists.samba.org] On Behalf Of Michael B Allen
>> Sent: 2010 March 09, Tuesday 14:12
>> Subject: Re: [jcifs] Get file last access time
>> No, I don't think CIFS has a way to retrieve the last access time. The
>> SMB_COM_QUERY_INFOMATION response has only a LastWriteTime field.
> SMB_COM_QUERY_INFORMATION2 (0x23) has creation, last access, and last write times.

Ah! It's been a while since I looked at the CIFS docs.

Well it doesn't look like we have SMB_COM_QUERY_INFORMATION2 but of
course it would not be terribly difficult for someone to add it I


Michael B Allen
Java Active Directory Integration

More information about the jCIFS mailing list