cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Launch a shell command from ftp

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 30 May 2006 15:14:34 +0200 (CEST)

On Tue, 30 May 2006, Francesco.Donini_at_isti.cnr.it wrote:

Do note that you'd reach a lot more libcurl-experienced persons on the
curl-library list, as this curl-users list is about the curl tool.

>>> ftp>!command (used to run local commands)
>>
>> That runs a local command in the client's computer, not in the server side.
>
> Yes i know that it s a client side command and i was asking if there is a
> way to the same with LibCurl.

"the same" would of course run a local command and you can easily do that with
system(). No need to involve libcurl in that.

> Reading about in Internet the only thing that i have understood is that i
> only can use command that are specified on the SITE command.

SITE is meant to be used for that kind of exensions, yes. But again: there's
no standard way so it depends on the particular server your accessing, and
probably how it is configured.

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