test2000 735 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. FILE
  7. multiprotocol
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data nocheck="yes">
  14. data
  15. to
  16. see
  17. that FTP
  18. works
  19. so does it?
  20. </data>
  21. </reply>
  22. #
  23. # Client-side
  24. <client>
  25. <server>
  26. ftp
  27. file
  28. </server>
  29. <name>
  30. FTP RETR followed by FILE
  31. </name>
  32. <command>
  33. ftp://%HOSTIP:%FTPPORT/2000 file://localhost/%PWD/log/test2000.txt
  34. </command>
  35. <file name="log/test2000.txt">
  36. foo
  37. bar
  38. bar
  39. foo
  40. moo
  41. </file>
  42. </client>
  43. #
  44. # Verify data after the test has been "shot"
  45. <verify>
  46. <protocol>
  47. USER anonymous
  48. PASS ftp@example.com
  49. PWD
  50. EPSV
  51. TYPE I
  52. SIZE 2000
  53. RETR 2000
  54. QUIT
  55. </protocol>
  56. <stdout>
  57. data
  58. to
  59. see
  60. that FTP
  61. works
  62. so does it?
  63. foo
  64. bar
  65. bar
  66. foo
  67. moo
  68. </stdout>
  69. </verify>
  70. </testcase>