| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-users Mailing List Archives
Re: ftp using a configuration file
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 8 Sep 2007 22:28:41 +0200 (CEST)
On Fri, 7 Sep 2007, Chris Glon wrote:
> Is it possible to emulate Unix "ftp -n < instruction file", where the
Most of those options are normally given in a single URL to curl. A few others
> Reading the manual, it sounds that -K may be the option to use, but how?
-K takes a file from which it reads further command line options from.
Like this:
curl -K config
and within the file "config" you can lines written in this style:
--- start ---
You can specify the command line options with dash, the long names with double
You can add comments with lines starting with # and you can have empty lines.
> And what is the best way in that case to monitor what is going on between
Yes, or --trace or --trace-ascii if you want even more details.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2007-09-08 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info