test110 641 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. Resume
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data>
  13. expected to be a file without the first part
  14. but we emulate that
  15. </data>
  16. <size>
  17. 85
  18. </size>
  19. <servercmd>
  20. REPLY EPSV 500 no such command
  21. </servercmd>
  22. </reply>
  23. # Client-side
  24. <client>
  25. <server>
  26. ftp
  27. </server>
  28. <name>
  29. FTP download resume with set limit
  30. </name>
  31. <command>
  32. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C 20
  33. </command>
  34. </client>
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. USER anonymous
  39. PASS ftp@example.com
  40. PWD
  41. EPSV
  42. PASV
  43. TYPE I
  44. SIZE %TESTNUMBER
  45. REST 20
  46. RETR %TESTNUMBER
  47. QUIT
  48. </protocol>
  49. </verify>
  50. </testcase>