Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2012

    S40 max length for filename

    What is the maximum length for filenames in S40 devices?
    Or is there some max length for path+filename?

  2. #2
    Registered User
    Join Date
    Dec 2008

    Re: S40 max length for filename


    This is taking "String" up to available memory space and same as path+ filename.

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: S40 max length for filename

    While in theory there is no limit for an URL, in practice it is almost certain that there is a limit. For example on Symbian devices the limit is 256 characters for the complete path+filename (if you ever plan running your code on Symbian devices, you may want to keep this limitation).
    Also when you are working with a memory card, that is likely formatted to FAT and thus limiting the length of a filename in 255 characters.

Similar Threads

  1. Replies: 3
    Last Post: 2009-09-16, 16:08
  2. Replies: 5
    Last Post: 2008-08-25, 19:10
  3. Create a filename with timestamp as filename
    By kambizs in forum Symbian
    Replies: 6
    Last Post: 2008-07-31, 11:11
  4. Getting filename from MTM
    By rihoe in forum Symbian
    Replies: 2
    Last Post: 2006-10-02, 14:52
  5. Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

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