cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: Missing Format Variable

From: Jinye Jeff Li <jinye_li_at_hotmail.com>
Date: Thu, 8 Oct 2009 01:00:08 +0000

Doug,

 

I get your perl script working after I made very little changes. I am amazed what it can do for me. It is going to save me a lot times down the road. Many thanks !

 

 

B. Regards,

 

Jeff
 

From: jinye_li_at_hotmail.com
To: curl-users_at_cool.haxx.se
Subject: RE: Missing Format Variable
Date: Wed, 7 Oct 2009 16:23:43 +0000

Thanks, Doug. It definitely fixed the problem. I also found your perl script very interesting. I try to run it and got a libeay32.dll related problem, but I will try fix it.
 
Cheers,
Jeff

 
> Date: Tue, 6 Oct 2009 18:45:37 -0600
> To: curl-users_at_cool.haxx.se
> From: douglist_at_macnauchtan.com
> Subject: Re: Missing Format Variable
>
> Damn. I didn't get rid of all of the html that was confusing the original message. This should be clearer.
>
> At 23:35 +0000 10/6/09, Jinye Jeff Li wrote:
> >I am a new user of Curl. When I try download some data from the yahoo website, I got an "Missing >Format Variable" error. I hope someone can kindly point what is wrong. Here is the command I used:
>
> >curl http://download.finance.yahoo.com/d/quotes.csv?s=@%5EIXIC&f=sl1d1t1c1ohgv&e=.csv&h=0.
>
> >Here is the return:
>
> >Missing Format Variable.
> >'f' is not recognized as an internal or external command,
> >operable program or batch file.
> >'e' is not recognized as an internal or external command,
> >operable program or batch file.
> >'h' is not recognized as an internal or external command,
> >operable program or batch file.
>
> What's happening is that your shell is looking at the http string and doing things to it before curl gets to look at it.
>
> ? question marks, & ampersands, and that @ sign probably need to be protected from interpretation depending on which shell or other scripting language is in use.
>
> curl "http://download.finance.yahoo.com/d/quotes.csv?s=@%5EIXIC&f=sl1d1t1c1ohgv&e=.csv&h=0"
>
> should work better.
>
> <ftp://ftp.macnauchtan.com/Excel/yahooquote.pl> Is an example that's almost what you want in perl.
>
> --
>
> --> A fair tax is one that you pay but I don't <--
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-users
> FAQ: http://curl.haxx.se/docs/faq.html
> Etiquette: http://curl.haxx.se/mail/etiquette.html

Hotmail: Powerful Free email with security by Microsoft. Get it now. _________________________________________________________________ Hotmail: Trusted email with Microsoft’s powerful SPAM protection. http://clk.atdmt.com/GBL/go/177141664/direct/01/

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-10-08