test291 538 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. RETR
  6. --max-filesize
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. data
  13. to
  14. see
  15. that FTP
  16. works
  17. so does it?
  18. </data>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. ftp
  24. </server>
  25. <name>
  26. FTP download maximum filesize not exceeded
  27. </name>
  28. <command>
  29. ftp://%HOSTIP:%FTPPORT/291 --max-filesize 100
  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. EPSV
  39. TYPE I
  40. SIZE 291
  41. RETR 291
  42. QUIT
  43. </protocol>
  44. </verify>
  45. </testcase>