test1037 700 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. 65
  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 empty file
  30. </name>
  31. <command>
  32. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -C -
  33. </command>
  34. <file name="log/curl%TESTNUMBER.out">
  35. </file>
  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. PASV
  45. TYPE I
  46. SIZE %TESTNUMBER
  47. RETR %TESTNUMBER
  48. QUIT
  49. </protocol>
  50. </verify>
  51. </testcase>