test261 536 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. EPSV
  6. RETR
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. hepp
  14. </data>
  15. <servercmd>
  16. REPLY TYPE 226 Kind of on the positive side!
  17. </servercmd>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. ftp
  24. </server>
  25. <name>
  26. FTP RETR with 226 response code to TYPE
  27. </name>
  28. <command>
  29. ftp://%HOSTIP:%FTPPORT/261
  30. </command>
  31. </client>
  32. #
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <protocol>
  36. USER anonymous
  37. PASS ftp@example.com
  38. PWD
  39. EPSV
  40. TYPE I
  41. SIZE 261
  42. RETR 261
  43. QUIT
  44. </protocol>
  45. </verify>
  46. </testcase>