test229 541 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. ACCT
  6. FAILURE
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <servercmd>
  12. REPLY PASS 332 please provide account name
  13. REPLY ACCT 532 bluah!
  14. </servercmd>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <name>
  22. FTP RETR with bad ACCT
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/229 --ftp-account "one count"
  26. </command>
  27. </client>
  28. # Verify data after the test has been "shot"
  29. <verify>
  30. <protocol>
  31. USER anonymous
  32. PASS ftp@example.com
  33. ACCT one count
  34. </protocol>
  35. <errorcode>
  36. 11
  37. </errorcode>
  38. </verify>
  39. </testcase>