×
Namespaces

Variants
Actions

How to get File Size

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: User:Kanu123 (27 Jun 2007)
Last edited: hamishwillee (26 Jul 2012)
Location: f32file.h 
Link against: efsrv.lib
_LIT(KFilePath, "\\System\\MyFile.txt"); 
 
RFs fs;
User::LeaveIfError(fs.Connect());
 
TEntry entry;
User::LeaveIfError(fs.Entry(KFilePath, entry));
TInt fileSize = entry.iSize;
 
fs.Close();
This page was last modified on 26 July 2012, at 05:41.
36 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×