cURL / Mailing Lists / curl-library / Single Mail

curl-library

Rename file on ftp server over proxy.

From: way sky <wayinsky_at_gmail.com>
Date: Mon, 15 Mar 2010 12:18:51 +0600

Hi all.

I'll try work with ftp server over http proxy. I get sample : ftpupload.c
and add to him code for proxy:
const char* proxy = "server_ip:port";
const char* userAndPwd = "name:password";
curl_easy_setopt(curl, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_easy_setopt(curl, CURLOPT_PROXY, proxy);
curl_easy_setopt(curl, CURLOPT_PROXYUSERPWD, userAndPwd);

With it changes program upload file on the ftp server, but not renaming
file.
Anyone can say how rename file with connection over proxy?

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-15