test124 598 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. we can still send data even if pwd fails!
  13. </data>
  14. <servercmd>
  15. REPLY PWD 314 bluah you f00l!
  16. REPLY EPSV 314 bluah you f00l!
  17. </servercmd>
  18. </reply>
  19. # Client-side
  20. <client>
  21. <server>
  22. ftp
  23. </server>
  24. <name>
  25. FTP download, failed PWD
  26. </name>
  27. <command>
  28. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  29. </command>
  30. </client>
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <protocol>
  34. USER anonymous
  35. PASS ftp@example.com
  36. PWD
  37. EPSV
  38. PASV
  39. TYPE I
  40. SIZE %TESTNUMBER
  41. RETR %TESTNUMBER
  42. QUIT
  43. </protocol>
  44. </verify>
  45. </testcase>