curl-users
curl ftp error
Date: Thu, 3 Jul 2008 09:20:47 -0700 (PDT)
I'm using the format below:
curl -x proxy:port -T filename -u name:passwd ftp://machine.domain/full/path/to/file%a0--trace-ascii file.out
Using libcurl 7.9.8 (old, i know)
file.out looks like this: (I've editted the proxy, ip address, machine name, etc)
== Info: About to connect() to {proxy:8000}
== Info: Connected to {proxy} (ip address) port 8000
=> Send header, 329 bytes (0x149)
0000: PUT ftp://machine.domain/full/path/to/file HTTP/
0040: 1.1
0045: Authorization: Basic d25ldGRzbDp0QWx4OEZ4bA==
0074: User-Agent: curl/7.9.8 (hppa2.0n-hp-hpux11.00) libcurl 7.9.8 (Op
00b4: enSSL 0.9.6d)
00c3: Host: machine.domain:21
00e0: Pragma: no-cache
00f2: Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
0134: Content-Length: 8
0147:
=> Send data , 8 bytes (0x8)
0000: hi jeff.
<= Recv header, 31 bytes (0x1f)
0000: HTTP/1.0 500 Error from proxy
<= Recv header, 19 bytes (0x13)
0000: Mime-version: 1.0
<= Recv header, 43 bytes (0x2b)
0000: Proxy-agent: iPlanet-Web-Proxy-Server/3.6
<= Recv header, 25 bytes (0x19)
0000: Content-type: text/html
<= Recv data, 271 bytes (0x10f)
0000: <HTML>.<HEAD><TITLE>Error</TITLE></HEAD>.<BODY>.<H1>Error</H1>.<
0040: BLOCKQUOTE><B>.<HR SIZE=4><P>.The file could not be uploaded by
0080: the proxy.<P>.Login incorrect.<P>..<HR SIZE=4>.</B></BLOCKQUOTE>
00c0: ..<P>.<ADDRESS>Proxy server at {proxy} on port 8000</ADDRESS>.
0100: </BODY></HTML>.
== Info: Closing connection #0
Does anyone have any ideas as to how to debug this? I'm very new to curl ....
Thanks,
Tom
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2008-07-03