test1233 606 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <servercmd>
  10. # Assuming there's nothing listening on port 1
  11. REPLY EPSV 229 Entering Passiv Mode (|||1|)
  12. </servercmd>
  13. <data>
  14. here are some bytes
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. ftp
  21. </server>
  22. <name>
  23. FTP failing to connect to EPSV port, switching to PASV
  24. </name>
  25. <command>
  26. ftp://%HOSTIP:%FTPPORT/1233
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <protocol>
  32. USER anonymous
  33. PASS ftp@example.com
  34. PWD
  35. EPSV
  36. PASV
  37. TYPE I
  38. SIZE 1233
  39. RETR 1233
  40. QUIT
  41. </protocol>
  42. </verify>
  43. </testcase>