test661 826 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. </keywords>
  6. </info>
  7. #
  8. # Server-side
  9. <reply>
  10. <data>
  11. </data>
  12. </reply>
  13. # Client-side
  14. <client>
  15. <server>
  16. ftp
  17. </server>
  18. # tool is what to use instead of 'curl'
  19. <tool>
  20. lib%TESTNUMBER
  21. </tool>
  22. <name>
  23. Avoid redundant CWDs
  24. </name>
  25. <command>
  26. ftp://%HOSTIP:%FTPPORT/
  27. </command>
  28. </client>
  29. #
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. CWD /folderA
  37. EPSV
  38. TYPE I
  39. RETR %TESTNUMBER
  40. CWD /folderB
  41. EPSV
  42. RETR %TESTNUMBER
  43. QUIT
  44. USER anonymous
  45. PASS ftp@example.com
  46. PWD
  47. EPSV
  48. TYPE I
  49. RETR /folderA/%TESTNUMBER
  50. CWD /folderB
  51. EPSV
  52. RETR %TESTNUMBER
  53. EPSV
  54. RETR /folderA/%TESTNUMBER
  55. QUIT
  56. USER anonymous
  57. PASS ftp@example.com
  58. PWD
  59. SYST
  60. QUIT
  61. USER anonymous
  62. PASS ftp@example.com
  63. PWD
  64. SYST
  65. SYST
  66. QUIT
  67. </protocol>
  68. </verify>
  69. </testcase>