EldoS | Feel safer!

Software components for data protection, secure storage and transfer

getting wrong file size from StorageGetFileSize

Posted: 01/29/2009 05:26:01
by J S (Priority Standard support level)
Joined: 01/18/2008
Posts: 9

unsigned long fileSize = 0;
StorageGetFileSize (fileHandle, &fileSize);

The above gives me the wrong file size but when viewed in SolFS Explorer it is correct.

I'm writing a file to the storage using
and can use SolFS Explorer to view and or export this file without any issues.

File Size recieved from StorageGetFileSize = 6758400
File Size reported from SolFS Explorer = 6771293

What am I doing wrong here?



Topic viewed 3504 times

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


Back to top

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

Got it!