[jcifs] 4GB limitation still there ?

Jens Viebig jviebig at como.com
Fri Aug 27 08:53:45 GMT 2004

Hello !
I try to transfer a file to a windows 2000 share from a linux client with
jcifs. I use SmbFileOutputstream to transfer a large file (> 8GB).The
windows system can handle this file, because i uploaded it from here to the
linux computer.
I did an upgrade from jcifs 0.7.x to jcifs 0.9.7 which improved performance
but didn't solve the 4 GB problem. Transfer stops exactly at 4.294.963.200
bytes (Tried it several times). Is this a known issue ?

The Exception I get is:
jcifs.smb.SmbException: 0xC000007F
        at jcifs.smb.SmbTransport.send(SmbTransport.java:668)
        at jcifs.smb.SmbSession.send(SmbSession.java:154)
        at jcifs.smb.SmbTree.send(SmbTree.java:103)
        at jcifs.smb.SmbFile.send(SmbFile.java:724)
        at jcifs.smb.SmbFileOutputStream.write(SmbFileOutputStream.java:220)
        at org.apache.commons.io.CopyUtils.copy(CopyUtils.java:188)

Jens Viebig

More information about the jcifs mailing list