cURL / Mailing Lists / curl-users / Single Mail

curl-users

Canąt get thru proxy?

From: Ivansson Gunno <Gunno.Ivansson_at_msb.se>
Date: Thu, 18 Feb 2010 10:49:18 +0100

Hi,

Our IT-department have set up a new proxy and since then I can’t upload files with curl. My command looks like this:
curl --proxy xxx-xx-xx.xxx.local:8021 -T "{/Users/gunno/Documents/Tidningen_local/Skicka_VTAB/TJUG-0217-A-018-A.pdf}" -u myUser:myPassword ftp://ftp1.x-xxx.se/

To simplify things I tried this and used the –v switch:

gunno-ivanssons-mac-pro:~ gunno$ curl --proxy xxx-xx-xx.xxx.local:8021 -u myUser ftp:// ftp1.x-xxx.se/ -v
Enter host password for user 'myUser':
* About to connect() to proxy xxx-xx-xx.xxx.local port 8021 (#0)
* Trying 192.xxx.x.xx... connected
* Connected to xxx-xx-xx.xxx.local (192.xxx.x.xx) port 8021 (#0)
* Server auth using Basic with user 'myUser'
> GET ftp:// ftp1.x-xxx.se/ HTTP/1.1
> Authorization: Basic c2lkb3I6c2lkb3I=
> User-Agent: curl/7.19.4 (universal-apple-darwin10.0) libcurl/7.19.4 OpenSSL/0.9.8l zlib/1.2.3
> Host: ftp1.x-xxx.se/
> Accept: */*
> Proxy-Connection: Keep-Alive
>
220 IronPort WSA ready.
500 Syntax error, command unrecognized.

I have very little command line experience and have composed my command from examples.
Our IT-deparment told me to use Filezilla, which manage to get thru our proxy, but this command is part of a larger script that create PDFs and send them to a print shop.
Ana idea why this doesn’t work?

Thanks
Gunno I
________________________________
MSB har ny webbadress: www.msb.se

MSB has a new web address: www.msb.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.html
Received on 2010-02-18