cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl: (26) Received error code 502 from proxy

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 23 Aug 2006 10:07:08 +0200 (CEST)

On Wed, 23 Aug 2006, Harry Pratama wrote:

> $ curl --proxytunnel -x ftp://www-proxy.wyharcorp.com:80 --user
> username:password -T /home/linda/test.txt --url
> ftp://ftp.destana.com/in_dir/
>
> curl: (26) Received error code 502 from proxy

Try -v or even --trace-asii to get to see the full server response and you'll
probably understand this better.

My guess is that your proxy just don't allow a "tunnel" through to port 21.

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