How many files can a shared hosting directory hold?
Your shared hosting account's directories can hold up to 1,024 files*. This limit prevents customers' file structures from taxing the server's resources and negatively affect its load time.
If you have more than 1,024 files in a directory, you might receive an "Out of Disk Space" when trying to add or create more files in that directory. This doesn't mean that your entire hosting account has exceeded its disk space, only that directory has.
You can avoid this issue by splitting directories with many files into sub-directories, and by pruning any 'cache' or 'thumbnail' directories your site uses manually or with a cron job. We will warn customers exceeding this limit and may relocate files to maintain server performance.
However, your hosting account cannot hold more than 500,000 files and folders (Windows) or inodes (Linux).
*File name lengths between 1 and 16 characters count as 1 file, 17 and 32 characters count as 2, 33 and 48 characters count as 3, and so on. The longer your filenames, the fewer files you can have in a directory.