I have this kind of problem when i install a new module it keeps giving me this error (Failed to connect to the server. The server reports the following message: Cannot connect to FTP Server, check settings* ,on my first day of drupal-7 it was fine but until a week past . , the error showed up ,

Comments

scatt’s picture

i have the same error since day 1...i have set permission 777 to www and www sub-directory. still unable to install a modules, both ftp and file selector send me to ftp page and the qhen i try to connect the error

kinglyr’s picture

hello community,

I have fresh installation of D7 on a CentOS 6 runing LAMP.

I face the same error screen when i try to upload a new module or theme on my D7 (standard installation) even though i have successfully installed and configured vsftpd server ( i tested vsftpd using winscp and i can log in and transfer files successfully).

Can anybody else have the same problem?

kinglyr’s picture

Hi to all,
The solution was found and was easy!

You do not need to install any ftp server or vsftp to install themes and modules using drupal GUI. You just need to change the ownership of the drupal site files to apache:apache (for web server running on CentOS)

OF course do not forget when you finish upload of your theme or module to change back the ownership of the previous affected files to root:apache (*security issue*)

Regards,