Re: jCIFS Digest, Vol 121, Issue 4
Brett Johnson <[email protected]> Fri, 25 Jan 2013 13:38:48 -0800
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <[email protected]> |
Reto, .DS_Store is a regular file, not a directory. You cannot listFiles on it. $ ls -la .DS_Store -rwxr-xr-x@ 1 bjohnson bjohnson 15364 Nov 14 12:03 .DS_Store $ file .DS_Store .DS_Store: data -- Brett M. Johnson On Jan 25, 2013, at 11:00 AM, [email protected] wrote: > Send jCIFS mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.samba.org/mailman/listinfo/jcifs > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of jCIFS digest..." > > > Today's Topics: > > 1. Re: SmbFile.listFiles crash with .DS_Store (Michael B Allen) > 2. Re: jcifs and Mountain Lion smbx server (Michael B Allen) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 24 Jan 2013 23:49:24 -0500 > From: Michael B Allen <[email protected]> > To: Reto Merz <[email protected]> > Cc: [email protected] > Subject: Re: [jcifs] SmbFile.listFiles crash with .DS_Store > Message-ID: > <CAGMFw4jv9+xOi_wS4-mPy-7bNKJOO6-me3wvQA3YnUZg-X1FDg@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > On Jan 24, 2013 11:08 PM, "Reto Merz" <[email protected]> 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-0001.html> > > ------------------------------ > > Message: 2 > Date: Thu, 24 Jan 2013 23:53:18 -0500 > From: Michael B Allen <[email protected]> > To: Amir <[email protected]> > Cc: [email protected] > Subject: Re: [jcifs] jcifs and Mountain Lion smbx server > Message-ID: > <CAGMFw4h4gt4-_O0dRANbW2pNE51AYr6fG=iec_dW7Euz94U0kw@mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > On Jan 24, 2013 11:08 PM, "Amir" <[email protected]> wrote: >> >> I've been trying to get this combination to work without much success, I > am under the impression that in Mountain Lion (actually as of Lion) Apple > created their own smb server "SMBX" and it uses smb2..... Does this make > sense? > > Hmm, so Mountain Lion only accepts SMB2? I doubt that. What is the error > you're getting? Post it. > > Mike > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.samba.org/pipermail/jcifs/attachments/20130124/a08c4801/attachment-0001.html> > > ------------------------------ > > _______________________________________________ > jCIFS mailing list > [email protected] > https://lists.samba.org/mailman/listinfo/jcifs > > > End of jCIFS Digest, Vol 121, Issue 4 > *************************************