test138 589 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. RETR
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. this is file contents
  12. </data>
  13. <size>
  14. -1
  15. </size>
  16. <servercmd>
  17. RETRNOSIZE
  18. </servercmd>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. ftp
  24. </server>
  25. <name>
  26. FTP download without size in RETR string and no SIZE command
  27. </name>
  28. <command>
  29. ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138
  30. </command>
  31. </client>
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <protocol>
  35. USER anonymous
  36. PASS ftp@example.com
  37. PWD
  38. CWD blalbla
  39. CWD lululul
  40. EPSV
  41. TYPE I
  42. SIZE 138
  43. RETR 138
  44. QUIT
  45. </protocol>
  46. </verify>
  47. </testcase>