test290 498 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. --max-filesize
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <size>
  11. 85
  12. </size>
  13. </reply>
  14. # Client-side
  15. <client>
  16. <server>
  17. ftp
  18. </server>
  19. <name>
  20. FTP download maximum filesize exceeded
  21. </name>
  22. <command>
  23. ftp://%HOSTIP:%FTPPORT/290 --max-filesize 30
  24. </command>
  25. </client>
  26. # Verify data after the test has been "shot"
  27. <verify>
  28. <errorcode>
  29. 63
  30. </errorcode>
  31. <protocol>
  32. USER anonymous
  33. PASS ftp@example.com
  34. PWD
  35. EPSV
  36. TYPE I
  37. SIZE 290
  38. QUIT
  39. </protocol>
  40. </verify>
  41. </testcase>