The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Increase file name limit

Discussion in 'General Discussion' started by mamady., Sep 12, 2015.

  1. mamady.

    mamady. Registered

    Joined:
    Sep 12, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Magzine
    cPanel Access Level:
    Website Owner
    Hello,

    How can I increase the length limit of a file name ? Currently I guess It's 255 or 256 bytes (characters)

    I'm using File Manager to do it.
     
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,460
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Hello, which file system is your server using? If it's ext4, then the limit is 255 bytes (https://en.m.wikipedia.org/wiki/Ext4). The only way to change it is to change your file system. Out of curiosity, why do you need longer file names?
     
  3. mamady.

    mamady. Registered

    Joined:
    Sep 12, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Magzine
    cPanel Access Level:
    Website Owner
    Where is file system?
    I need to make a path of about 40,000 bytes for some security reasons
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Long file name for security reasons? That's not security.
     
  5. mamady.

    mamady. Registered

    Joined:
    Sep 12, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Magzine
    cPanel Access Level:
    Website Owner
    Nothing serious about security. Just to make hotlinking harder
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,811
    Likes Received:
    667
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Have you considered using the HotLink Protection option in cPanel? It's documented at:

    cPanel - HotLink Protection

    Thank you.
     
Loading...

Share This Page