test161 624 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. CURLE_PARTIAL_FILE
  6. RETR
  7. PASV
  8. </keywords>
  9. </info>
  10. <reply>
  11. <data>
  12. 1oooooooooooooooooooooooooooooooooooooooooo2
  13. </data>
  14. <size>
  15. 10928
  16. </size>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. ftp
  22. </server>
  23. <name>
  24. FTP RETR PASV
  25. </name>
  26. <command>
  27. ftp://%HOSTIP:%FTPPORT/161
  28. </command>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. # This gets QUIT sent because CURLE_PARTIAL_FILE does NOT mark the control
  33. # connection as bad
  34. <protocol>
  35. USER anonymous
  36. PASS ftp@example.com
  37. PWD
  38. EPSV
  39. TYPE I
  40. SIZE 161
  41. RETR 161
  42. QUIT
  43. </protocol>
  44. <errorcode>
  45. 18
  46. </errorcode>
  47. </verify>
  48. </testcase>