cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Philippe HAMEAU <philippe.hameau_at_sagem.com>
Date: Mon, 2 May 2005 10:23:37 +0200

Bonjour,

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 ?

Phil

Daniel Stenberg <daniel-curl_at_haxx.se>

Envoyé par : curl-library-bounces_at_cool.haxx.se
02/05/2005 01:39
Veuillez répondre à libcurl development
Remis le : 02/05/2005 01:52

 
        Pour : libcurl development <curl-library_at_cool.haxx.se>
        cc : (ccc : Philippe HAMEAU/DRD/SAGEM)
        Objet : Re: trying to chmod a directory with libcurl

On Mon, 2 May 2005, nelson wrote:

> *I need to chmod* a directory

...

> - a curl command "curl ...." that I could adapt to my purposes...(as I
> can execute the curl command from the VB application)

Perhaps something like this:

  curl -T infile ftp://upload.com/coolfile -Q '-SITE CHMOD 777 my_directory'

It uploads a file, and then runs the site command. Use -v to see the
details.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-05-02