2
0

test138 648 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. REPLY SIZE 500 command not understood
  19. </servercmd>
  20. </reply>
  21. # Client-side
  22. <client>
  23. <server>
  24. ftp
  25. </server>
  26. <name>
  27. FTP download without size in RETR string and no SIZE command
  28. </name>
  29. <command>
  30. ftp://%HOSTIP:%FTPPORT/blalbla/lululul/%TESTNUMBER
  31. </command>
  32. </client>
  33. # Verify data after the test has been "shot"
  34. <verify>
  35. <protocol>
  36. USER anonymous
  37. PASS ftp@example.com
  38. PWD
  39. CWD blalbla
  40. CWD lululul
  41. EPSV
  42. TYPE I
  43. SIZE %TESTNUMBER
  44. RETR %TESTNUMBER
  45. QUIT
  46. </protocol>
  47. </verify>
  48. </testcase>