xref: /curl/tests/data/test983 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5STARTTLS
6</keywords>
7</info>
8
9#
10# Server-side
11<reply>
12<servercmd>
13REPLY AUTH 500 unknown command\r\n500 unknown command\r\n331 give password\r\n230 Authenticated\r\n257 "/"\r\n200 OK\r\n200 OK\r\n200 OK\r\n226 Transfer complete
14REPLY PASS 530 Login incorrect
15</servercmd>
16</reply>
17
18# Client-side
19<client>
20<features>
21SSL
22</features>
23<server>
24ftp
25</server>
26<name>
27FTP STARTTLS pipelined server response
28</name>
29<file name="%LOGDIR/test%TESTNUMBER.txt">
30data
31    to
32      see
33that FTPS
34works
35  so does it?
36</file>
37<command>
38--ssl --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt -u user:secret -P %CLIENTIP
39</command>
40</client>
41
42# Verify data after the test has been "shot"
43<verify>
44# 8 is CURLE_WEIRD_SERVER_REPLY
45<errorcode>
468
47</errorcode>
48<protocol>
49AUTH SSL
50</protocol>
51</verify>
52</testcase>
53