I can't see all my files in a folder

Come here to discuss FileZilla and FTP in general

Moderator: Project members

Post Reply
Message
Author
LarsM
500 Command not understood
Posts: 1
Joined: 2015-01-29 09:26

I can't see all my files in a folder

#1 Post by LarsM » 2015-01-29 22:14

Hi,

I can't see all my files in a folder in Public_html on the publishing server for my website.

My web hotel provider says that's because Filezilla has a limitation of how many files are visible.
I can only see the first 5998 files out of 6799. (No filters).

(OK they are many but they are just thumbnails for jpg images. The website is database driven).

Is he right??

/LarsM

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: I can't see all my files in a folder

#2 Post by botg » 2015-01-30 09:19

FileZilla has no such limit. Actually the limitation is in your server. The server has been configured to not show more than 6000 files. Subtract two for the ubiquitous . and .. directories (meaning current and parent directory) you're left with 5998 items your server displays.

serpent
500 Command not understood
Posts: 1
Joined: 2018-02-21 07:46

Re: I can't see all my files in a folder

#3 Post by serpent » 2018-02-21 08:10

The solution for PureFTPd (WHM/cPanel) on non-shared servers is:

1. Use any kind of SSH software (e.g. PuTTY) for logging in as root;

2. Find pure-ftpd.conf
~/whereis pure-ftpd.conf
It is very likely that you can find it in /etc/ ;

3. Open the file using any editor like vi
vi pure-ftpd.conf

4. Find or add a line as follows:
--limitrecursion=xxxxx:y
where xxxxx is the number of files you would like to permit in a listing and y is the directory depth you wish to permit.

5. Save the file and exit the editor.

6. After modifying the file, type
chattr +i pure-ftpd.conf
to keep cPanel updates from overwriting your changes.

7. Restart FTP, and you'll see the extended listings.

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: I can't see all my files in a folder

#4 Post by botg » 2018-02-21 08:25

Infinite is the only number to put there. There is no valid reason why it ever should be limited.

Post Reply