Plugins can't be installed

I am having problems with two of my Wordpress Sites, I can't upload images, download plugins, or install new themes because it says it can't find the directory. I am using the command line to get things done. I have a Cloud server and 1 and 1 hosting