[jcifs] "Invalid operation for IPC Service" - while trying to list files

Praveen Tammana a10pkt8 at gmail.com
Fri Aug 5 06:24:23 GMT 2005

I am using jcifs-1.2.1.jar straight from the tgz file I downloaded - I 
didn't even build it from the source. The server is a regular desktop 
running WinXP Professional - client is a Redhat Linux machine. My 
test.properties is quite simple:


useNTSmbs doesn't make any diff. I was just trying it out because I saw 
found references to it in list archives.



On 8/4/05, Michael B Allen <mba2000 at ioplex.com> wrote:
> On Thu, 4 Aug 2005 19:40:51 -0700
> Praveen Tammana <praveen.public at gmail.com> wrote:
> > Hi,
> >
> > I am getting this error when I tried to list files on an smbserver
> > using the example file ListFiles.java
> >
> > java -Djcifs.properties=test.properties ListFiles "
> smb://filer/home/praveen/"
> This SMB URL should never generate such an error. Pls post your
> test.properties file.
> > Exception in thread "main" jcifs.smb.SmbException: Invalid operation
> > for IPC service
> This error occurs when you try to list the IPC$ share like:
> java -Djcifs.properties=test.properties ListFiles "smb://filer/IPC$/"
> which is of course invalid. One thing that you might not realize is
> that listing each node returned by listing "smb://filer/" will attempt
> to list IPC$ and printers which is again invalid.
> Also, what version of JCIFS are you using and what is the server
> (e.g. Windows2000)?
> Mike
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list