test1137 613 B

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