test1036 819 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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 nocheck="yes">
  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 from end of file
  30. </name>
  31. <command>
  32. ftp://%HOSTIP:%FTPPORT/1036 -C -
  33. </command>
  34. <file name="log/curl1036.out">
  35. This is the start!!
  36. </file>
  37. </client>
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <protocol>
  41. USER anonymous
  42. PASS ftp@example.com
  43. PWD
  44. EPSV
  45. PASV
  46. TYPE I
  47. SIZE 1036
  48. REST 20
  49. RETR 1036
  50. QUIT
  51. </protocol>
  52. <file name="log/curl1036.out">
  53. This is the start!!
  54. expected to be a file without the first part
  55. but we emulate that
  56. </file>
  57. </verify>
  58. </testcase>