curl-users
Re: cURL and download.com
Date: Thu, 28 Aug 2003 04:26:47 -0500
Looks like somewhere along the line you've lost some percent's... That
final part of the url probably should read:
&destUrl=http%3A%2F%2Fdownload.com%2Fkmd.exe
Ralph
joe j wrote:
> at least putting the " shortened the error message :)
>
> curl -v -L "http://download.com.com/redir?pid=10214919&merid=88691&m
> fgid=88691&edId=3&siteId=4&oId=3002-20-10214919&ontId=20<ype=dl_dlnow&lop=link
>
> &destUrl=httpAFFdownload.kazaa.comFkmd.exe"
> * About to connect() to download.com.com:80
> * Connected to c10-xw-news-lb.cnet.com (206.16.0.134) port 80
>
>> GET
>> /redir?pid=10214919&merid=88691&mfgid=88691&edId=3&siteId=4&oId=3002-20-10
>>
>
> 214919&ontId=20<ype=dl_dlnow&lop=link&destUrl=httpAFFdownload.kazaa.comFkmd.ex
>
> e HTTP/1.1
> User-Agent: curl/7.10.7 (win32) libcurl/7.10.7 zlib/1.1.4
> Host: download.com.com
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
>
> < HTTP/1.1 302 Found
> < Date: Thu, 28 Aug 2003 08:52:08 GMT
> < Server: Apache/2.0
> < Pragma: no-cache
> < Cache-control: no-cache
> < Location: http://download.com.comhttpAFFdownload.kazaa.comFkmd.exe
> < P3P: CP="CAO DSP COR CURa ADMa DEVa PSAa PSDa IVAi IVDi CONi OUR
> OTRi IND PHY
> ONL UNI FIN COM NAV INT DEM STA"
> < Content-Length: 0
> < Connection: close
> < Content-Type: text/plain
> * Closing connection #0
> * Issue another request to this URL:
> 'http://download.com.comhttpAFFdownload.kaz
> aa.comFkmd.exe'
> * gethostbyname(2) failed for
> download.com.comhttpAFFdownload.kazaa.comFkmd.exe
> * Couldn't resolve host
> 'download.com.comhttpAFFdownload.kazaa.comFkmd.exe'
> * Closing connection #0
> curl: (6) Couldn't resolve host
> 'download.com.comhttpAFFdownload.kazaa.comFkmd.e
> xe'
>
> _________________________________________________________________
> Add photos to your messages with MSN 8. Get 2 months FREE*.
> http://join.msn.com/?page=features/featuredemail
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-08-28