test575 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. RETR
  6. multi
  7. wildcardmatch
  8. ftplistparser
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <data>
  14. </data>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <tool>
  22. lib%TESTNUMBER
  23. </tool>
  24. <name>
  25. FTP wildcard download - dup_handle and multi interface
  26. </name>
  27. <command>
  28. ftp://%HOSTIP:%FTPPORT/fully_simulated/UNIX/*
  29. </command>
  30. </client>
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <errorcode>
  34. 0
  35. </errorcode>
  36. <protocol>
  37. USER anonymous
  38. PASS ftp@example.com
  39. PWD
  40. CWD fully_simulated
  41. CWD UNIX
  42. EPSV
  43. TYPE A
  44. LIST
  45. EPSV
  46. TYPE I
  47. RETR chmod1
  48. EPSV
  49. RETR chmod2
  50. EPSV
  51. RETR chmod3
  52. EPSV
  53. RETR empty_file.dat
  54. EPSV
  55. RETR file.txt
  56. EPSV
  57. RETR someothertext.txt
  58. CWD /
  59. CWD fully_simulated
  60. CWD UNIX
  61. EPSV
  62. TYPE A
  63. LIST
  64. EPSV
  65. TYPE I
  66. RETR chmod1
  67. EPSV
  68. RETR chmod2
  69. EPSV
  70. RETR chmod3
  71. EPSV
  72. RETR empty_file.dat
  73. EPSV
  74. RETR file.txt
  75. EPSV
  76. RETR someothertext.txt
  77. QUIT
  78. USER anonymous
  79. PASS ftp@example.com
  80. PWD
  81. CWD fully_simulated
  82. CWD UNIX
  83. EPSV
  84. TYPE A
  85. LIST
  86. EPSV
  87. TYPE I
  88. RETR chmod1
  89. EPSV
  90. RETR chmod2
  91. EPSV
  92. RETR chmod3
  93. EPSV
  94. RETR empty_file.dat
  95. EPSV
  96. RETR file.txt
  97. EPSV
  98. RETR someothertext.txt
  99. QUIT
  100. </protocol>
  101. <stdout>
  102. This file should have permissions 444
  103. This file should have permissions 666
  104. This file should have permissions 777
  105. This is content of file "file.txt"
  106. Some junk ;-) This file does not really exist.
  107. This file should have permissions 444
  108. This file should have permissions 666
  109. This file should have permissions 777
  110. This is content of file "file.txt"
  111. Some junk ;-) This file does not really exist.
  112. This file should have permissions 444
  113. This file should have permissions 666
  114. This file should have permissions 777
  115. This is content of file "file.txt"
  116. Some junk ;-) This file does not really exist.
  117. </stdout>
  118. </verify>
  119. </testcase>