curl-users
Re: URL in config file bug?
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 25 Oct 2000 23:42:29 +0200 (MET DST)
Date: Wed, 25 Oct 2000 23:42:29 +0200 (MET DST)
On Wed, 25 Oct 2000, Kevin P Roth wrote:
> There seems to be a bug in this however: if I use a very simple 2-line
> config file (we'll call it config.txt) that looks like this:
>
> -v
> http://testweb/FTP/ftp.txt
The config file parser is surprisingly lame. It is one of those TODO-items I
feel really bad about...
> I receive the error "curl: no URL specified!". However, if I comment out
> or remove the -v line I get the download I was expecting. If I put the -v
> on the line AFTER the URL, it also works, or if I put the -v on my
> command line it also works.
I'll try to have a look at this within a few days.
-- Daniel Stenberg -- curl project maintainer -- http://curl.haxx.se/Received on 2000-10-25