Please Help! Files not shown in FTP client

Discussion in 'Site & Server Administration' started by templatese, Oct 22, 2008.

  1. #1
    Hi everybody
    I have more than 30,000 files in one folder of my host, but when using CuteFTP to manage the files, it just show about 2000 of them.
    What to do to see all files?
    Is there any configuration in server to change? or it's the ftp client problem?
    if yes, which ftp software do you suggest?
     
    templatese, Oct 22, 2008 IP
  2. sparek

    sparek Peon

    Messages:
    68
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Ask your host to increase the number of visible files.

    Does this hosting company use cPanel? If so they are probably use pure-ftpd, which I believe by default (or at least cPanel's default) limits to 2000 viewable files in a directory at a time.

    Your host will need to increase this.

    You may also want to try splitting up the files so that not all 30,000 files are in one directory.
     
    sparek, Oct 22, 2008 IP
    templatese likes this.
  3. JPC-NickO

    JPC-NickO Guest

    Messages:
    69
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    sparek is correct that the default limit for files is 2000.

    This can by changed by editing the /etc/pure-ftpd.conf file. The following option is what you need to change:

    # 'ls' recursion limits. The first argument is the maximum number of
    # files to be displayed. The second one is the max subdirectories depth

    LimitRecursion 2000 8

    I would also like to suggest that you break up your files into folders as you will find it difficult to manage that many files in a single folder.
     
    JPC-NickO, Oct 22, 2008 IP
    templatese likes this.
  4. genius24k

    genius24k Active Member

    Messages:
    114
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #4
    2000 files is default you need to talk to your hosting provider
     
    genius24k, Oct 22, 2008 IP
    templatese likes this.