cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL and download.com

From: Dave Withnall <withnall_at_inspired.net.au>
Date: Thu, 28 Aug 2003 19:18:58 +1000

You'll find that & is a control character in dos.
put quotes around the URL -> "http://..."
it'll work fine.

the verbose output from curl is tells you what its trying to access with
the GET command
GET /redir?pid=10214919

which doesn't include the rest of your url.

the other bits which show up after the curl command
'merid' is not recognized as an internal or external command,
operable program or batch file.

show you that windows is trying to run a command called merid but can't
find it.

D.

joe j wrote:

> I’m using curl-7.10.7-win32-noss
> My operating system is Win2K server (curl is running in the “dos” window)
> The curl output:
>
> curl -v -L http://download.com.com/redir?pid=10214919&merid=88691&mf
> gid=88691&edId=3&siteId=4&oId=3002-20-10214919&ontId=20&ltype=dl_dlnow&lop=link&
>
> destUrl=http%3A%2F%2Fdownload.kazaa.com%2Fkmd.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 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 404 Not Found
> < Date: Thu, 28 Aug 2003 08:07:02 GMT
> < Server: Apache/2.0
> < Accept-Ranges: bytes
> < 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"
> < Connection: close
> < Transfer-Encoding: chunked
> < Content-Type: text/html
> < Expires: Thu, 28 Aug 2003 08:07:02 GMT
>
>
>
> ======= Omitted long html of page not found in download.com =====
>
>
>
> * Closing connection #0
> 'merid' is not recognized as an internal or external command,
> operable program or batch file.
> 'mfgid' is not recognized as an internal or external command,
> operable program or batch file.
> 'edId' is not recognized as an internal or external command,
> operable program or batch file.
> 'siteId' is not recognized as an internal or external command,
> operable program or batch file.
> 'oId' is not recognized as an internal or external command,
> operable program or batch file.
> 'ontId' is not recognized as an internal or external command,
> operable program or batch file.
> 'ltype' is not recognized as an internal or external command,
> operable program or batch file.
> 'lop' is not recognized as an internal or external command,
> operable program or batch file.
> 'destUrl' is not recognized as an internal or external command,
> operable program or batch file.
>
>
>
> thanks for yout help!
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
>
>
> -------------------------------------------------------
> 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