test546 859 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. multi
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <data nocheck="yes">
  13. data
  14. to
  15. see
  16. that FTP
  17. works
  18. so does it?
  19. </data>
  20. <servercmd>
  21. REPLY RETR 550 the file doesn't exist
  22. COUNT RETR 1
  23. REPLY SIZE 550 Can't check for file existence
  24. COUNT SIZE 1
  25. </servercmd>
  26. </reply>
  27. # Client-side
  28. <client>
  29. <server>
  30. ftp
  31. </server>
  32. <tool>
  33. lib533
  34. </tool>
  35. <name>
  36. FTP RETR a non-existing file then a found one using the multi interface
  37. </name>
  38. <command>
  39. ftp://%HOSTIP:%FTPPORT/path/546 ftp://%HOSTIP:%FTPPORT/path/546
  40. </command>
  41. </client>
  42. # Verify data after the test has been "shot"
  43. <verify>
  44. <protocol>
  45. USER anonymous
  46. PASS ftp@example.com
  47. PWD
  48. CWD path
  49. EPSV
  50. TYPE I
  51. SIZE 546
  52. RETR 546
  53. EPSV
  54. SIZE 546
  55. RETR 546
  56. QUIT
  57. </protocol>
  58. <stdout>
  59. data
  60. to
  61. see
  62. that FTP
  63. works
  64. so does it?
  65. </stdout>
  66. </verify>
  67. </testcase>