test337 713 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. TYPE A
  7. RETR
  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. <datacheck nonewline="yes">
  21. data
  22. </datacheck>
  23. <servercmd>
  24. REPLY EPSV 500 no such command
  25. REPLY SIZE 213 file: 213, Size =51
  26. </servercmd>
  27. </reply>
  28. # Client-side
  29. <client>
  30. <server>
  31. ftp
  32. </server>
  33. <name>
  34. FTP range download with SIZE returning extra crap
  35. </name>
  36. <command>
  37. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --range 3-6
  38. </command>
  39. </client>
  40. # Verify data after the test has been "shot"
  41. <verify>
  42. <protocol>
  43. USER anonymous
  44. PASS ftp@example.com
  45. PWD
  46. EPSV
  47. PASV
  48. TYPE I
  49. SIZE %TESTNUMBER
  50. REST 3
  51. RETR %TESTNUMBER
  52. ABOR
  53. QUIT
  54. </protocol>
  55. </verify>
  56. </testcase>