2
0

test1057 582 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. 456789abcdef
  14. </data>
  15. <datacheck nonewline="yes">
  16. 456789abcdef
  17. </datacheck>
  18. <size>
  19. 64
  20. </size>
  21. </reply>
  22. # Client-side
  23. <client>
  24. <server>
  25. ftp
  26. </server>
  27. <name>
  28. FTP retrieve a byte-range relative to end of file
  29. </name>
  30. <command>
  31. -r -12 ftp://%HOSTIP:%FTPPORT/1057
  32. </command>
  33. </client>
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <protocol>
  37. USER anonymous
  38. PASS ftp@example.com
  39. PWD
  40. EPSV
  41. TYPE I
  42. SIZE 1057
  43. REST 52
  44. RETR 1057
  45. ABOR
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>