curl-library
Re: Failed Writing Body
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Sep 2011 22:14:25 +0200 (CEST)
Date: Wed, 14 Sep 2011 22:14:25 +0200 (CEST)
On Wed, 14 Sep 2011, Mark Schienbein wrote:
> url="ftp.xxxxx.com"
> upload-file="build.txt"
> user="uuuser:pppasswd"
> proxy="http://xxx.xxx.xxx.xxx:81
These options will convert your operation into a HTTP PUT over the HTTP proxy,
and your proxy obviously is good enough to deal with that.
> CRLOPT_PROXY
> CRLOPT_PROXYTYPE (http1.1)
> CRLOPT_PROXYPORT
> CRLOPT_PROXYTTUNNEL
These options will make a HTTP CONNECT "through" the proxy and then it'll send
the proper FTP commands to the remote server.
These two requests are *vastly* different from each other. Using -v and
CURLOPT_VERBOSE will reveal this.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2011-09-14