cURL / Mailing Lists / curl-library / Single Mail


Re: Réf. : Re: trying to chmod a directory with libcurl

From: Daniel Stenberg <>
Date: Mon, 2 May 2005 10:33:19 +0200 (CEST)

On Mon, 2 May 2005, Philippe HAMEAU wrote:

> Dan, I don't understand why your command line should work : the help says -Q
> will execute your quote BEFORE the transfer. Am I missing something ?

Yes, you can make it send the commands at three different times in the command
sequence. Plain -Q "command" makes the command get sent before the transfer,
but if you prefix the command with a dash (like -Q "-command") the command is
instead sent after the transfer. You can even use + (-Q "+command") to have
the command sent after curl changes working directory, immediately before the

Use whatever suits you.

Those options use the following libcurl options: CURLOPT_QUOTE,

Online docs here:

  Commercial curl and libcurl Technical Support:
Received on 2005-05-02