test401 665 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. FTPS
  6. EPSV
  7. STOR
  8. </keywords>
  9. </info>
  10. # Client-side
  11. <client>
  12. <features>
  13. SSL
  14. </features>
  15. <server>
  16. ftps
  17. </server>
  18. <name>
  19. FTPS PASV upload file
  20. </name>
  21. <file name="log/test%TESTNUMBER.txt">
  22. data
  23. to
  24. see
  25. that FTPS
  26. works
  27. so does it?
  28. </file>
  29. <command>
  30. -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt
  31. </command>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <upload>
  36. data
  37. to
  38. see
  39. that FTPS
  40. works
  41. so does it?
  42. </upload>
  43. <protocol>
  44. USER anonymous
  45. PASS ftp@example.com
  46. PBSZ 0
  47. PROT C
  48. PWD
  49. EPSV
  50. TYPE I
  51. STOR %TESTNUMBER
  52. QUIT
  53. </protocol>
  54. </verify>
  55. </testcase>