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

Reply via email to