Nevermind, I have found that I can't add files from the place of new file, as I showed in the picture but if I drag them directly to the main page of the course it works.... Magic...
The web server is Apache
The web server is Apache