test135 610 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. EPSV
  6. RETR
  7. Range
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. 0123456789abcdef
  14. 0123456789abcdef
  15. 0123456789abcdef
  16. 0123456789abcdef
  17. </data>
  18. <datacheck nonewline="yes">
  19. 0123456789abc
  20. </datacheck>
  21. <size>
  22. 64
  23. </size>
  24. </reply>
  25. # Client-side
  26. <client>
  27. <server>
  28. ftp
  29. </server>
  30. <name>
  31. FTP retrieve a byte-range
  32. </name>
  33. <command>
  34. -r 4-16 ftp://%HOSTIP:%FTPPORT/135
  35. </command>
  36. </client>
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <protocol>
  40. USER anonymous
  41. PASS ftp@example.com
  42. PWD
  43. EPSV
  44. TYPE I
  45. SIZE 135
  46. REST 4
  47. RETR 135
  48. ABOR
  49. QUIT
  50. </protocol>
  51. </verify>
  52. </testcase>