[jcifs] [solved] Re: SMB Sequence Yields Write Corruption

Michael B Allen mba2000 at ioplex.com
Sun May 1 23:01:08 GMT 2005

Michael B Allen said:
> Now if I dump that file I get:
>   $ hexdump -c /mnt/pub/t.txt
>   0000000  \0  \0  \0  \0  \0  \0   h   e   l   l   o   2
> Where did all these zeros come from?

Nevermind. I was using a CreateDisposition of FILE_OVERWRITE_IF so when it
reopend the file it overwrite the existing contents with 0's.

You guys are good!


More information about the jcifs mailing list