[jcifs] SmbFile reports incorrect file dates
Michael B Allen
ioplex at gmail.com
Wed Jun 11 20:18:27 MDT 2014
On Wed, Jun 11, 2014 at 8:26 PM, Simon van der Sluis
<simon.vandersluis at edmi.co.nz> wrote:
> When attempting to get the file date from a SmbFile it always returns 0.
> Connecting to the same smb share using finder in OSX returns the correct files
> SmbFile smbFile = SmbFileUtil.connect("smb://192.168.56.101/share/fie.txt",
Is the above path with 'fie.txt' a type? Are you checking if the file
exists() first? If it does not, it might very well return 0.
Java Active Directory Integration
More information about the jCIFS