There are two settings to know to enable or disable File Transfer.
In the AdminTool / Web / Web Portal / HTML5 client;
Use this box :

If you wish to enable or disable File Transfer for the generated connection client,
click on sessions / client generator / local devices and uncheck the disk box.