Why can't I download anything from Dashboard?

I keep getting an error on the dashboard when I try to download a plugin or theme.