test228 616 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. ACCT
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data>
  11. data
  12. to
  13. see
  14. that FTP
  15. works
  16. so does it?
  17. </data>
  18. <servercmd>
  19. REPLY PASS 332 please provide account name
  20. REPLY ACCT 230 thank you
  21. </servercmd>
  22. </reply>
  23. # Client-side
  24. <client>
  25. <server>
  26. ftp
  27. </server>
  28. <name>
  29. FTP RETR with ACCT
  30. </name>
  31. <command>
  32. ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
  33. </command>
  34. </client>
  35. # Verify data after the test has been "shot"
  36. <verify>
  37. <protocol>
  38. USER anonymous
  39. PASS ftp@example.com
  40. ACCT one count
  41. PWD
  42. EPSV
  43. TYPE I
  44. SIZE 228
  45. RETR 228
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>