test986 724 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. STARTTLS
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. REPLY welcome 230 Welcome
  13. REPLY AUTH 500 unknown command
  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 require STARTTLS while preauthenticated
  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-reqd --ftp-ssl-control ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -u user:secret
  37. </command>
  38. </client>
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. # 64 is CURLE_USE_SSL_FAILED
  42. <errorcode>
  43. 64
  44. </errorcode>
  45. <protocol>
  46. AUTH SSL
  47. AUTH TLS
  48. </protocol>
  49. </verify>
  50. </testcase>