test1224 537 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. data
  13. to
  14. see
  15. that FTP
  16. works
  17. so does it?
  18. </data>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. ftp
  24. </server>
  25. <name>
  26. FTP fetch a file from the root directory
  27. </name>
  28. <command>
  29. ftp://%HOSTIP:%FTPPORT//%TESTNUMBER
  30. </command>
  31. </client>
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <protocol>
  35. USER anonymous
  36. PASS ftp@example.com
  37. PWD
  38. CWD /
  39. EPSV
  40. TYPE I
  41. SIZE %TESTNUMBER
  42. RETR %TESTNUMBER
  43. QUIT
  44. </protocol>
  45. </verify>
  46. </testcase>