cURL / Mailing Lists / curl-users / Single Mail

curl-users

FTP Authentication Needed

From: Davide Aliperti <davide.aliperti_at_db.com>
Date: Wed, 2 Nov 2005 15:47:51 +0100

hi all

I'm trying to send a file trough a proxy server with ssl.

here the command line:
curl --ftp-ssl -1 -S -x proxy.de.db.com:3128 -T "pippo.txt" --trace-ascii
curltrace.trc --cacert /export/home/alipeda/Cedacri_cert.crt -u
TFA99999:TFA99999 ftp://connect.cedacri.it

and here the trace file:
== Info: About to connect() to proxy.de.db.com port 3128
== Info: Trying 10.2.4.33... == Info: connected
== Info: Connected to proxy.de.db.com (10.2.4.33) port 3128
== Info: Proxy auth using (nil) with user ''
== Info: Server auth using Basic with user 'TFA99999'
=> Send header, 291 bytes (0x123)
0000: PUT ftp://connect.cedacri.it/pippo%2Etxt HTTP/1.1
0033: Authorization: Basic VEZBOTk5OTk6VEZBOTk5OTk=
0062: User-Agent: curl/7.12.2 (sparc-sun-solaris2.8) libcurl/7.12.2 Op
00a2: enSSL/0.9.7g zlib/1.1.3
00bb: Host: connect.cedacri.it:21
00d8: Pragma: no-cache
00ea: Accept: */*
00f7: Content-Length: 29
010b: Expect: 100-continue
0121:
=> Send data, 29 bytes (0x1d)
0000: Prova Spedizione file da DB..
<= Recv header, 40 bytes (0x28)
0000: HTTP/1.0 401 FTP Authentication Needed
== Info: Authentication problem. Ignoring this.
<= Recv header, 43 bytes (0x2b)
0000: WWW-Authenticate: Basic real="FTP server"
<= Recv data, 0 bytes (0x0)
== Info: Closing connection #0

it seem there is a problem in the authentication ...... any suggestion ?

Many Thanks
Davide

--
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. 
Received on 2005-11-02