×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    How to get size of a large file ?

    hi,
    For the using RFile::Size(TInt aSize) we can get the size of a file.. But problem is TInt is small to hold the size of a large size file like 20 MB. Can i pass double value to that aSize parameter or TUint64? What will happen if the the file size is evern larger ?

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,988

    Re: How to get size of a large file ?

    You can try with TInt64..

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Re: How to get size of a large file ?

    Quote Originally Posted by vineet.jain View Post
    You can try with TInt64..
    It is making compiler error

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,675

    Re: How to get size of a large file ?

    TInt is a 32-bit value, and can describe the size of a 2 gigabyte (minus 1 byte) long file.

  5. #5
    Registered User
    Join Date
    Feb 2011
    Posts
    338

    Re: How to get size of a large file ?

    Quote Originally Posted by wizard_hu_ View Post
    TInt is a 32-bit value, and can describe the size of a 2 gigabyte (minus 1 byte) long file.
    I had to calculate it earlier by myself.. thank you wizard hu.

Similar Threads

  1. UPload large size file using HTTP
    By arun09 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2010-01-13, 15:40
  2. Large ram file size in N-95 .
    By soni_neeraj in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2008-07-25, 08:14
  3. how to deal with a large size file.
    By luotasha8 in forum Symbian
    Replies: 6
    Last Post: 2008-06-05, 10:22
  4. sis file size is unexpectedly large
    By yazwas in forum Symbian
    Replies: 1
    Last Post: 2007-10-03, 11:40
  5. File Size too large
    By titch_stewart in forum Mobile Java General
    Replies: 3
    Last Post: 2003-04-28, 20:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×