cURL / Mailing Lists / curl-users / Single Mail

curl-users

Connection to ftps server dropping unexpectedly

From: Paul Andres <paulandres_at_earthlink.net>
Date: Mon, 7 Apr 2008 15:50:44 -0700 (GMT-07:00)

I am attempting to transfer files to an ftps server the trace of
my interaction is seen below:

curl -v -k -3 -T "fei.xml" -u <removed>:<removed> ftps://<removed>/Cassini-candidates/

[pma_at_mipldevlinux5 cas_temp]$
== Info: About to connect() to <removed> port 990
== Info: Trying <removed>... == Info: connected
== Info: Connected to <removed> (<removed>) port 990
== Info: successfully set certificate verify locations:
== Info: CAfile: /usr/share/ssl/certs/ca-bundle.crt
  CApath: none
== Info: SSLv3, TLS handshake, Client hello (1):
<= Send SSL data, 95 bytes (0x5f)

...

== Info: SSLv3, TLS handshake, Server hello (2):
<= Recv SSL data, 74 bytes (0x4a)

...

== Info: SSLv3, TLS handshake, CERT (11):
<= Recv SSL data, 676 bytes (0x2a4)

...

== Info: SSLv3, TLS handshake, Server finished (14):
<= Recv SSL data, 4 bytes (0x4)
0000: 0e 00 00 00 ....
== Info: SSLv3, TLS handshake, Client key exchange (16):
<= Send SSL data, 132 bytes (0x84)
0000: 10 00 00 80 d9 3b 7e 2f d3 1d 0c 21 f6 e8 03 7e .....;~/...!...~
0010: fc 3f f1 73 ed 8c b3 53 7d e4 63 3b a5 c7 93 ef .?.s...S}.c;....
0020: fe 27 a3 16 c7 75 f9 27 c7 08 ff 1a 9b 45 bb 62 .'...u.'.....E.b
0030: cc c0 6a 53 2c c8 a8 e0 24 da 36 78 69 e6 83 b1 ..jS,...$.6xi...
0040: 0f d6 69 6d a6 7e 21 72 a5 af 48 df 67 e3 fc 66 ..im.~!r..H.g..f
0050: 00 76 6b 10 89 39 c4 f4 7d a0 d8 e1 c9 41 82 38 .vk..9..}....A.8
0060: 8b b2 88 ac 58 0c 7d 28 ee 4f 32 2e 7a 78 a1 d1 ....X.}(.O2.zx..
0070: 32 54 22 a2 e6 27 24 d5 88 4c b7 a5 34 0b 30 1b 2T"..'$..L..4.0.
0080: 23 c5 5b 25 #.[%
== Info: SSLv3, TLS change cipher, Client hello (1):
<= Send SSL data, 1 bytes (0x1)
0000: 01 .
== Info: SSLv3, TLS handshake, Finished (20):
<= Send SSL data, 40 bytes (0x28)
0000: 14 00 00 24 21 42 e9 48 c2 dd 8d 48 00 3e 58 27 ...$!B.H...H.>X'
0010: 4f be ab ca 4a c7 73 d6 84 c4 0c 1d b7 5e 71 f9 O...J.s......^q.
0020: f7 ed 98 f3 3c 4c 64 f3 ....<Ld.
== Info: SSLv3, TLS change cipher, Client hello (1):
<= Recv SSL data, 1 bytes (0x1)
0000: 01 .
== Info: SSLv3, TLS handshake, Finished (20):
<= Recv SSL data, 40 bytes (0x28)
0000: 14 00 00 24 84 27 ee 2c 34 b3 96 82 2c 25 67 5a ...$.'.,4...,%gZ
0010: cb 2f 7c e1 fe 0a bd 21 a6 50 c3 75 99 17 50 55 ./|....!.P.u..PU
0020: 77 c6 04 f3 99 0d a6 4e w......N
== Info: SSL connection using AES256-SHA
== Info: Server certificate:
== Info: subject: /CN=137.78.104.173/C=01/ST=california/L=pasadena/O=jpl/OU=180/emailAddress=hanchett@
jpl.nasa.gov
== Info: start date: 2008-03-07 00:38:24 GMT
== Info: expire date: 2009-03-07 00:38:24 GMT
== Info: common name: <removed> (does not match '<removed-hostname>')
== Info: issuer: /CN=137.78.104.173/C=01/ST=california/L=pasadena/O=jpl/OU=180/emailAddress=<removed>
== Info: SSL certificate verify result: error number 1 (18), continuing anyway.
<= Recv header, 61 bytes (0x3d)

<= Recv header, 63 bytes (0x3f)

<= Recv header, 65 bytes (0x41)

<= Recv header, 70 bytes (0x46)

<= Recv header, 73 bytes (0x49)

<= Recv header, 71 bytes (0x47)

=> Send header, 18 bytes (0x12)
0000: 55 53 45 52 20 46 54 50 2d 43 41 53 53 49 4e 49 USER <removed>
0010: 0d 0a ..
<= Recv header, 39 bytes (0x27)
0000: 33 33 31 20 50 61 73 73 77 6f 72 64 20 72 65 71 331 Password req
0010: 75 69 72 65 64 20 66 6f 72 20 66 74 70 2d 63 61 uired for <removed>
0020: 73 73 69 6e 69 0d 0a <removed>..
=> Send header, 15 bytes (0xf)
0000: 50 41 53 53 20 48 75 79 67 65 6e 73 31 0d 0a PASS <removed>..
<= Recv header, 15 bytes (0xf)
0000: 32 33 30 20 4c 6f 67 67 65 64 20 6f 6e 0d 0a 230 Logged on..
== Info: We have successfully logged in
=> Send header, 8 bytes (0x8)
0000: 50 42 53 5a 20 30 0d 0a PBSZ 0..
<= Recv header, 12 bytes (0xc)
0000: 32 30 30 20 50 42 53 5a 3d 30 0d 0a 200 PBSZ=0..
=> Send header, 5 bytes (0x5)
0000: 50 57 44 0d 0a PWD..
<= Recv header, 31 bytes (0x1f)
0000: 32 35 37 20 22 2f 22 20 69 73 20 63 75 72 72 65 257 "/" is curre
0010: 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 0d 0a nt directory...
== Info: Entry path is '/'
=> Send header, 24 bytes (0x18)
0000: 43 57 44 20 43 61 73 73 69 6e 69 2d 63 61 6e 64 CWD Cassini-cand
0010: 69 64 61 74 65 73 0d 0a idates..
<= Recv header, 65 bytes (0x41)
0000: 32 35 30 20 43 57 44 20 73 75 63 63 65 73 73 66 250 CWD successf
0010: 75 6c 2e 20 22 2f 43 61 73 73 69 6e 69 2d 63 61 ul. "/Cassini-ca
0020: 6e 64 69 64 61 74 65 73 22 20 69 73 20 63 75 72 ndidates" is cur
0030: 72 65 6e 74 20 64 69 72 65 63 74 6f 72 79 2e 0d rent directory..
0040: 0a .
=> Send header, 6 bytes (0x6)
0000: 45 50 53 56 0d 0a EPSV..
<= Recv header, 47 bytes (0x2f)
0000: 32 32 39 20 45 6e 74 65 72 69 6e 67 20 45 78 74 229 Entering Ext
0010: 65 6e 64 65 64 20 50 61 73 73 69 76 65 20 4d 6f ended Passive Mo
0020: 64 65 20 28 7c 7c 7c 31 32 32 38 7c 29 0d 0a de (|||1228|)..
== Info: Trying <removed>... == Info: connected
== Info: Connecting to <removed> (<removed>) port 1228
== Info: Connected the data stream with PASV!
=> Send header, 8 bytes (0x8)
0000: 54 59 50 45 20 49 0d 0a TYPE I..
<= Recv header, 19 bytes (0x13)
0000: 32 30 30 20 54 79 70 65 20 73 65 74 20 74 6f 20 200 Type set to
0010: 49 0d 0a I..
=> Send header, 14 bytes (0xe)
0000: 53 54 4f 52 20 66 65 69 2e 78 6d 6c 0d 0a STOR fei.xml..
<= Recv header, 25 bytes (0x19)
0000: 31 35 30 20 43 6f 6e 6e 65 63 74 69 6f 6e 20 61 150 Connection a
0010: 63 63 65 70 74 65 64 0d 0a ccepted..
== Info: Doing the SSL/TLS handshake on the data stream
== Info: successfully set certificate verify locations:
== Info: CAfile: /usr/share/ssl/certs/ca-bundle.crt
  CApath: none
== Info: SSL re-using session ID
== Info: SSLv3, TLS handshake, Client hello (1):
<= Send SSL data, 127 bytes (0x7f)
0000: 01 00 00 7b 03 00 47 fa 9a d4 e2 14 ef ed a6 cc ...{..G.........
0010: 28 a2 17 1f 8b 58 9c 2a 24 c4 36 6a 83 b2 b6 3a (....X.*$.6j...:
0020: 8c 00 0b 46 0e 69 20 f6 ad 11 d4 df 45 17 7b df ...F.i .....E.{.
0030: 5a b8 40 a5 88 b0 9f 54 82 31 fa de df b9 2d f9 Z.@....T.1....-.
0040: 95 1f a0 95 8d 06 73 00 34 00 39 00 38 00 35 00 ......s.4.9.8.5.
0050: 16 00 13 00 0a 00 33 00 32 00 2f 00 66 00 05 00 ......3.2./.f...
0060: 04 00 63 00 62 00 61 00 15 00 12 00 09 00 65 00 ..c.b.a.......e.
0070: 64 00 60 00 14 00 11 00 08 00 06 00 03 01 00 d.`............
== Info: Unknown SSL protocol error in connection to <removed>:990
== Info: Closing connection #0
== Info: SSLv3, TLS alert, Client hello (1):
<= Send SSL data, 2 bytes (0x2)
0000: 01 00
Received on 2008-04-08