Hi,
I switched from proftp to pureftp and ever since then i cannot connect using my ftp at script level. I was able to get filezilla working, however at script level (such as a wordpress level) it wont connect. I dont use wordpress, i use another software however im sure its probably a similar issue with all script level issues, so i have been looking at the wordpress forum to see if i can find something to try to get my program to connect.
My program allways connected before fine on proftp, im not sure what the issue is. But i have tried everything i know how to do, i have used the localhost, the ftp.example.com, the hostname.example.com, no port at all because pureftp is passive, i have tried everything.
Today i ran into this little bit of code that seems to help wordpress users connect if its broken but dont know what it does.
Can someone please explain this to me before i try it?
I know that it changes the permission but why would those permissions fix the issue. I am not understanding the www-data- and /var/www relationships i guess.
And do you have any suggestions what i might try next?
thanks 
I switched from proftp to pureftp and ever since then i cannot connect using my ftp at script level. I was able to get filezilla working, however at script level (such as a wordpress level) it wont connect. I dont use wordpress, i use another software however im sure its probably a similar issue with all script level issues, so i have been looking at the wordpress forum to see if i can find something to try to get my program to connect.
My program allways connected before fine on proftp, im not sure what the issue is. But i have tried everything i know how to do, i have used the localhost, the ftp.example.com, the hostname.example.com, no port at all because pureftp is passive, i have tried everything.
Today i ran into this little bit of code that seems to help wordpress users connect if its broken but dont know what it does.
Can someone please explain this to me before i try it?
I know that it changes the permission but why would those permissions fix the issue. I am not understanding the www-data- and /var/www relationships i guess.
And do you have any suggestions what i might try next?
Code:
chown -R www-data:www-data /var/www
find /var/www/ -type d -exec chmod 755 {} \;
find /var/www/ -type f -exec chmod 644 {} \;
Last edited: