cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl upload on ftp serv through proxy

From: <kinbull_at_free.fr>
Date: Tue, 6 Aug 2013 14:39:10 +0200 (CEST)

Hello

sorry for my bad english, I try to do my best

under cmd on my windows 8 I try this command with curl :

curl -T file ftp://user_ftp:pass_ftp@serv_ftp/rep/
It works fine

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

I add -v
The command returns me HTML/XML code in my cmd window, and file is not uploaded
I try with quote for "file" but same result

Important thing, download works correctly :
curl -U user_proxy:pass_proxy -x serveur_proxy:port -O ftp://user_ftp:pass_ftp@serv_ftp/rep/file

any ideas please ?
thanks
-------------------------------------------------------------------
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.html
Received on 2013-08-06