You can follow below steps to disable anonymous FTP:
- Login to cpanel.
- Click on “Anonymous FTP” under “Files” section.
- Here you can select the actions according to your need.
- Allow anonymous access.
- Allow anonymous control.
- At last, click on Save settings.