EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Incorrect size of file in file info dialog

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 06/27/2012 09:48:23
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Hi, If I have big file with size 4365516800L (4G and more) I will see in file info dialog incorrect information about file size.

Windows 7 x64
Java 1.7.05
cbfs 3.2.110, Java API

Tested on VDisk example behavior the same.

System Fat32.
Posted: 06/27/2012 10:08:20
by Eugene Mayevski (EldoS Corp.)

Will wrong size be shown in Explorer as well or just in some file information dialog? I guess that maybe (just maybe) there's a problem with the reader of file size information rather than in CBFS.

Sincerely yours
Eugene Mayevski
Posted: 06/27/2012 10:34:34
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Yes, I see your opinion, and before post question just change VDisk Sample and put static number 4365516800L into onGetFileInfo and onEnumerateDirectory events to EndOfFile and AllocationSize properties, so, size that I can see in explorer equals to 75 mb but have to see like 4 Gb
Posted: 06/27/2012 10:59:50
by szagriichuk  (Basic support level)
Joined: 03/28/2012
Posts: 51

Just checked on .NET sample all is working very well, problem just in Java API
Posted: 06/27/2012 11:27:57
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk for checking.

Sincerely yours
Eugene Mayevski
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.



Topic viewed 706 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!