Topic "More than 10,000 files in folder"

Author Message
dlceder
[View user's profile]

Joined: 2017-09-22
Posts: 3
Location: California, USA
I have more than 10,000 files in a single remote folder.
WinSCP version 5.11.1 (Build 7725) will only show 9,998
files, so I have no access to a couple of hundred files.
This issue has been present in previous versions as well
and I was hoping it would have been fixed with this latest
release.
Advertisements
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
What protocol? Can you access the other files with any other client using the same protocol?
dlceder
[View user's profile]

Joined: 2017-09-22
Posts: 3
Location: California, USA
martin wrote:
What protocol? Can you access the other files with any other client using the same protocol?


Sorry. Protocol FTP. I downloaded Filezilla and tried using that. It also shows only 9,998 files and only 356 KB total, but when I log into my cPanel I see all files and it says the folder is a total of 544 KB.
filezilla.jpg (292.5 KB) Private file

Description: (none)

martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
So then you should contact your web hosting provider, as this looks like a server-side bug.
Unless those two missing files are hidden files (their name start with a dot).
dlceder
[View user's profile]

Joined: 2017-09-22
Posts: 3
Location: California, USA
There's a lot more than two files missing, and they are not hidden files. My husband says maybe our server only delivers so many bytes per request, and we have to configure it differently to serve more. I will inquire and/or we might decide to figure out a better solution by breaking up the folder into many subfolders with a smaller number of files in it. Thank you so much for your help and for your wonderful program.
Guest




That's not a bug, but intentional server configuration.

The server deliberately limits directory listings to 10000 objects. Since the special . and .. directories are sent, too, you are left with 9998 usable objects.
Either the admin is aware of it as planned limitation (to cut bandwidth), or the admin is lazy (the limit is set by default in some server software).

Contacting server support is the correct way.
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License