ftp

How to Restore Missing FTP Interfaces in cPanel


Last modified: February 19, 2024

Overview

Warning:
This document describes an unsupported workaround. We do not guarantee that it will work in the future. We strongly recommend that you return FTP services to a managed state.
Remember:
Your server’s package-based services may use the unmanaged setting, even if you did not change the package’s target settings. For more information, read the Why is my target set to unmanaged section in our How to Set or Unset Package Management documentation.

If you set your server’s FTP service to use the unmanaged setting, you may experience problems with cPanel’s FTP-related interfaces. cPanel uses a touch file to determine whether cPanel displays FTP interfaces. Also, cPanel only displays FTP-related interfaces if a system administrator enables FTP for the user.

Resolve the touch file problem

Use the touch command to create the /var/cpanel/dynamicui/ftp file. The file determines whether cPanel will display FTP interfaces.

To do this, run the following commands:

1
2
mkdir -p /var/cpanel/dynamicui/
touch /var/cpanel/dynamicui/ftp
Remember:
The unmanaged FTP package may delete the touch file during an upgrade. If this issue recurs on your server, always run this command after any updates or upgrades.

Additional Documentation