test983 856 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. STARTTLS
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. 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
  13. REPLY PASS 530 Login incorrect
  14. </servercmd>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <features>
  19. SSL
  20. </features>
  21. <server>
  22. ftp
  23. </server>
  24. <name>
  25. FTP STARTTLS pipelined server response
  26. </name>
  27. <file name="log/test%TESTNUMBER.txt">
  28. data
  29. to
  30. see
  31. that FTPS
  32. works
  33. so does it?
  34. </file>
  35. <command>
  36. --ssl --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -u user:secret -P %CLIENTIP
  37. </command>
  38. </client>
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. # 8 is CURLE_WEIRD_SERVER_REPLY
  42. <errorcode>
  43. 8
  44. </errorcode>
  45. <protocol>
  46. AUTH SSL
  47. </protocol>
  48. </verify>
  49. </testcase>