诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
694 B

  1. #
  2. # This test is like 585 but uses passive FTP instead of HTTP
  3. #
  4. <testcase>
  5. <info>
  6. <keywords>
  7. FTP
  8. </keywords>
  9. </info>
  10. #
  11. # Server-side
  12. <reply>
  13. <data>
  14. moo
  15. </data>
  16. <datacheck>
  17. [OPEN] counter: 1
  18. [OPEN] counter: 2
  19. moo
  20. [CLOSE] counter: 2
  21. [CLOSE] counter: 1
  22. </datacheck>
  23. </reply>
  24. # Client-side
  25. <client>
  26. <server>
  27. ftp
  28. </server>
  29. # tool is what to use instead of 'curl'
  30. <tool>
  31. lib585
  32. </tool>
  33. <name>
  34. verify close callbacks with passive FTP
  35. </name>
  36. <command>
  37. ftp://%HOSTIP:%FTPPORT/595 log/ip595
  38. </command>
  39. </client>
  40. #
  41. # Verify data after the test has been "shot"
  42. <verify>
  43. <protocol>
  44. USER anonymous
  45. PASS ftp@example.com
  46. PWD
  47. EPSV
  48. TYPE I
  49. SIZE 595
  50. RETR 595
  51. QUIT
  52. </protocol>
  53. </verify>
  54. </testcase>