cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: CURLE_COULDNT_CONNECT error

From: Michael Wood <esiotrot_at_gmail.com>
Date: Sun, 22 Mar 2015 14:51:36 +0200

Hi

On 22 Mar 2015 8:49 AM, "兰天" <lantian0811_at_163.com> wrote:

I'm not sure about your other problems, but maybe setting CURLOPT_VERBOSE
will give you more information about what is wrong.

> and I wget the whole link ,it comes the error , for example
> wget
http://xxxxxxxxxxxxxxx.com/psb?/V101gEx91O6JZP/*IWADXgIENCnf3iTgXOofWAQ.dnzMfWBuJqsmU6oc1E!/b/dJaYEXDBDgAA&bo=uAEMAwAAAAABAJE
!
> and I got the error -bash: !/b/dJaYEXDBDgAA: event not found

This is because bash is interpreting the "!" character as a special
character.

Try quoting the whole URL on the command line like this:

wget '
http://xxxxxxxxxxxxxxx.com/psb?/V101gEx91O6JZP/*IWADXgIENCnf3iTgXOofWAQ.dnzMfWBuJqsmU6oc1E!/b/dJaYEXDBDgAA&bo=uAEMAwAAAAABAJE
!'

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-03-22