cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cURL and download.com

From: Ralph Mitchell <rmitchell_at_eds.com>
Date: Thu, 28 Aug 2003 03:37:01 -0500

I don't know about Win2K, but Unix systems get a little silly when you
put "&" characters in a command without quoting them. Specifically, you
get very similar results to what you quoted:

    xxxx: command not found

So, just for grins, try it again with quotes around the url. That may
not fix it, but it would be kind of funny if it did - the Win2K "dos"
window emulating the Unix shell well enough to have the same problem
with "&"s...

Ralph Mitchell

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/s
> f

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-08-28