test122 531 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. Resume
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <size>
  12. 5
  13. </size>
  14. <servercmd>
  15. REPLY EPSV 500 no such command
  16. </servercmd>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. ftp
  22. </server>
  23. <name>
  24. FTP download resume with whole file already downloaded
  25. </name>
  26. <command>
  27. ftp://%HOSTIP:%FTPPORT/122 -C 5
  28. </command>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. EPSV
  37. PASV
  38. TYPE I
  39. SIZE 122
  40. QUIT
  41. </protocol>
  42. </verify>
  43. </testcase>