curl downloads fail on OS X Yosemite
It may not be a complete solution but, you could try using wget instead.
Also the main curl syntax I use is:
curl -L 'http://example.com/file.txt' -o 'file.txt'
I am running OS X Yosemite too.
wget:
wget 'http://example.com/file.txt'
Connection reset by peer
and Operation timed out
usually mean that the server or file can't be reached. From the libcurl
error codes list,
CURLE_RECV_ERROR (56) Failure with receiving network data.
Maybe you can try getting the same file from another server? If you're using curl
in install scripts, maybe it's possible to submit a bug report? Since everything else in the network is working fine, I'll guess it's a problem with the installation script.