cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: trying to chmod a directory with libcurl

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 2 May 2005 01:39:03 +0200 (CEST)

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