[jcifs] Get file last access time
Michael B Allen
ioplex at gmail.com
Tue Mar 9 13:12:26 MST 2010
On Tue, Mar 9, 2010 at 9:55 AM, Ori <oorrii at gmail.com> wrote:
>
> Hi,
>
> I wanted to ask if there is a way to get a file's last access time using
> jcifs.
> I haven't seen such property under SmbFile.
>
> Thanks.
Hi Ori,
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.
There might be some IOCTL to get that but you'd have to dig around the
MS docs to figure out how to do it.
Mike
--
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/
More information about the jCIFS
mailing list