test125 502 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. FAILURE
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <servercmd>
  11. REPLY CWD 314 bluah you f00l!
  12. </servercmd>
  13. </reply>
  14. # Client-side
  15. <client>
  16. <server>
  17. ftp
  18. </server>
  19. <name>
  20. FTP download, failed CWD
  21. </name>
  22. <command>
  23. ftp://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER
  24. </command>
  25. </client>
  26. # Verify data after the test has been "shot"
  27. <verify>
  28. <errorcode>
  29. 9
  30. </errorcode>
  31. <protocol>
  32. USER anonymous
  33. PASS ftp@example.com
  34. PWD
  35. CWD path
  36. QUIT
  37. </protocol>
  38. </verify>
  39. </testcase>