test1108 568 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. PRET
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. REPLY PRET 550 unkown command
  14. </servercmd>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <name>
  22. FTP RETR PASV with PRET not supported
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/1108 --ftp-pret
  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. PWD
  34. PRET RETR 1108
  35. </protocol>
  36. # we expect that the server doesn't understand PRET
  37. <errorcode>
  38. 84
  39. </errorcode>
  40. </verify>
  41. </testcase>