test986 (731B)
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 welcome 230 Welcome 14 REPLY AUTH 500 unknown command 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 require STARTTLS while preauthenticated 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-reqd --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/test%TESTNUMBER.txt -u user:secret 39 </command> 40 </client> 41 42 # Verify data after the test has been "shot" 43 <verify> 44 # 64 is CURLE_USE_SSL_FAILED 45 <errorcode> 46 64 47 </errorcode> 48 <protocol> 49 AUTH SSL 50 AUTH TLS 51 </protocol> 52 </verify> 53 </testcase>