define( 'DISALLOW_FILE_EDIT', true );
define( 'DISALLOW_FILE_MODS', true );
These constants are forbidden to edit files in the editor in the admin and updates. To edit FTP have no influence and cannot have.
In your case, most likely, your FTP user does not have sufficient rights to edit (write) files.
And look in the config constants: