[jcifs] Seek in SmbRandomAccessFile

Michael B Allen mba2000 at ioplex.com
Tue Mar 22 19:21:16 GMT 2005


On Tue, 22 Mar 2005 16:20:19 +0800
Cellina Lin <cellina at gmail.com> wrote:

> Hi,
> I am trying to write data randomly to server by creating a
> SmbRandomAccessFile. However, whenever I set the file pointer's position
> by seek(long pos), and then write data using write(byte[] b, int off, int
> len),ArrayIndexOutOfBoundException occured in
> SmbComWriteAndX.WriteBytesWireFormat().

Please post the full stack trace and the fragment of code that causes it.

Mike

-- 
IRC - where men are men, women are men, and the boys are FBI agents.


More information about the jcifs mailing list