cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ftp-upload with libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 17 Sep 2003 11:26:51 +0200 (CEST)

On Wed, 17 Sep 2003 Matthias.Horvath_at_gmx.de wrote:

> $code = $curl->setopt(CURLOPT_PROXY, $proxy);

This means HTTP proxy.

> It seems curl is starting a HTTP-PUT. But I need a FTP-PUT.

No can do over a HTTP proxy.

If your proxy allows you to CONNECT to the remote port 21 (most proxies won't
let you), you can enable the CURLOPT_HTTPPROXYTUNNEL option to make it work.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-17