PHP FTP is bad!

So I decided last sunday that adding a set of smilies to a forum would be a good idea. I have always sort of been a minimalist when it came to electronics but I know others arent so I decided to add them.

When I got to the part of the plugins page where it wanted to upload the files via ftp via localhost I thought nothing of it.

When I put the password in, something went wrong… I got a 500 internal misconfiguration error. I thought maybe it was just sending too many commands and I just needed to wait a few mins and refresh.. oh no..

the ftp  decided to change the permission on a folder I dont know which one, but it causes all php files on all of my domains to go down.  I ended up having to use a previous backup to restore the files and then use a current backup to push the new data.  It was crazy.

Moral of the story, backup before you do ANYTHING, no matter how small. (even when I say that, I didnt backup before doing the automatic wordpress updates..they usually do pretty good.)