test118 555 B

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