test102 567 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. data
  13. to
  14. see
  15. that FTP
  16. works
  17. so does it?
  18. </data>
  19. <servercmd>
  20. REPLY EPSV 500 no such command
  21. </servercmd>
  22. </reply>
  23. # Client-side
  24. <client>
  25. <server>
  26. ftp
  27. </server>
  28. <name>
  29. FTP RETR PASV
  30. </name>
  31. <command>
  32. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  33. </command>
  34. </client>
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. USER anonymous
  39. PASS ftp@example.com
  40. PWD
  41. EPSV
  42. PASV
  43. TYPE I
  44. SIZE %TESTNUMBER
  45. RETR %TESTNUMBER
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>