Knowledge Base

Home > FTP Server Errors > 226 Output truncated

Created 30 Aug 2004
Modified 06 Mar 2013

Article 197

226 Output truncated to 2000 matches

Some servers are truncating the output of the directory listing to a certain number of lines (files / folders). The server cannot display more than 2000 items in file listings. The reason is to prevent a DoS attack where a user could just issue a few "ls" commands to the FTP server and tie up huge amounts of bandwidth and CPU resources.

It is recommended to increase the depth of the directory structure by creating additional sub folders and moving the files from the main folder into the newly created sub folders.

Keywords
226, truncated