curl-users
Re: curl upload on ftp serv through proxy
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 6 Aug 2013 15:24:00 +0200 (CEST)
Date: Tue, 6 Aug 2013 15:24:00 +0200 (CEST)
On Tue, 6 Aug 2013, kinbull_at_free.fr wrote:
> I configure a mandriva server with proxy SQUID, I add somme arguments like
> this to pass through the proxy :
> curl -U user_proxy:pass_proxy -x serveur_proxy:port -T file
> ftp://user_ftp:pass_ftp@serv_ftp/rep/
>
> no upload
This will convert the ftp upload into a HTTP PUT, which the proxy probably
won't magically convert back to a FTP upload for you.
You typically can't do FTP uploads through a HTTP proxy unless you tunnel
through it with CONNECT (--proxy-tunnel). But then proxies also rarely are
setup to allow you to CONNECT through to port 21...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2013-08-06