[jcifs] SmbFile.listFiles crash with .DS_Store
Michael B Allen
ioplex at gmail.com
Thu Jan 24 21:49:24 MST 2013
On Jan 24, 2013 11:08 PM, "Reto Merz" <Reto.Merz at abacus.ch> wrote:
>
> Hello,
>
> SmbFile.listFiles does not work with .DS_Store:
>
> jcifs.smb.SmbException: smb://myMachine/myShare/.DS_Store directory
> must end with '/'
Hi Reto,
Have you tied adding the slash? Maybe that file is technically a directory
in which case you need the slash.
Mike
> at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1977)
> at jcifs.smb.SmbFile.doEnum(SmbFile.java:1738)
> at jcifs.smb.SmbFile.listFiles(SmbFile.java:1715)
> at jcifs.smb.SmbFile.listFiles(SmbFile.java:1648)
>
> JCIFS: jcifs-1.3.17.jar
>
> Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20130124/36b08c64/attachment.html>
More information about the jCIFS
mailing list