test983 (862B)
1 <testcase> 2 <info> 3 <keywords> 4 FTP 5 STARTTLS 6 </keywords> 7 </info> 8 9 # 10 # Server-side 11 <reply> 12 <servercmd> 13 REPLY 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 14 REPLY PASS 530 Login incorrect 15 </servercmd> 16 </reply> 17 18 # Client-side 19 <client> 20 <features> 21 SSL 22 </features> 23 <server> 24 ftp 25 </server> 26 <name> 27 FTP STARTTLS pipelined server response 28 </name> 29 <file name="%LOGDIR/test%TESTNUMBER.txt"> 30 data 31 to 32 see 33 that FTPS 34 works 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> 46 8 47 </errorcode> 48 <protocol> 49 AUTH SSL 50 </protocol> 51 </verify> 52 </testcase>