test137 565 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. RETR
  6. --data-binary
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. this is file contents
  13. </data>
  14. <servercmd>
  15. RETRNOSIZE
  16. </servercmd>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. ftp
  22. </server>
  23. <name>
  24. FTP download without size in RETR string
  25. </name>
  26. <command>
  27. ftp://%HOSTIP:%FTPPORT/blalbla/lululul/137
  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. CWD blalbla
  37. CWD lululul
  38. EPSV
  39. TYPE I
  40. SIZE 137
  41. RETR 137
  42. QUIT
  43. </protocol>
  44. </verify>
  45. </testcase>