Download with curl cause error on some servers