EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Incorrect size of file in file info dialog

Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.
#20631
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.
#20632
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
#20633
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
#20635
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
#20638
Posted: 06/27/2012 11:27:57
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk for checking.


Sincerely yours
Eugene Mayevski
Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages

Reply

Statistics

Topic viewed 722 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!