FileManager head and tail commands

Version 1.514


When requesting a file, eg: /CMD_FILE_MANAGER/file.txt You can now add GET options, either fm_head=10 or: fm_tail=10 to view the starting or ending number of lines for that file, eg: /CMD_FILE_MANAGER/file.txt?fm_tail=5 Only one of head or tail can be used at a time. 10 can be replaced with any positive integer. The Content-Type header will always be set to text/plain.

Interested to try DirectAdmin? Get a 30-day Free Trial!