|
Re: Batching command in CIFS: msg#00106network.samba.java
On Fri, 21 Jan 2005 12:19:18 +0800 Cellina Lin <cellina@xxxxxxxxx> wrote: > All, > > I am trying to use the "batching command" features of jCIFS library. I > wish to control which SMB commands to be batched together as it is > said in the document. It also explains that you should not change batch levels for any reason other than perhaps if you're a developer developing a CIFS server. Why do you want to change batching behavior? > Config.setProperty( > "jcifs.smb.client.SessionSetupAndX.TreeConnectAndX", "1" ); > Config.setProperty( > "jcifs.smb.client.TreeConnectAndX.CheckDirectory", "1" ); > Config.setProperty( > "jcifs.smb.client.TreeConnectAndX.CreateDirectory", "1" ); > Config.setProperty( "jcifs.smb.client.TreeConnectAndX.Delete", "1" > ); All batch levels are already set to 1 but a command will not be batched unless it is sent in conjunction with another command. Most jCIFS library methods to not do that. You would have to use the internal API to specifically chain together a sequence of commands. But then you have the problem of porability as most servers really don't support batching consistently. Mike -- Greedo shoots first? Not in my Star Wars. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Batching command in CIFS: 00106, Cellina Lin |
|---|---|
| Next by Date: | Re: Batching command in CIFS: 00106, Michael B Allen |
| Previous by Thread: | Batching command in CIFSi: 00106, Cellina Lin |
| Next by Thread: | Re: Batching command in CIFS: 00106, Michael B Allen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |