诸暨麻将添加redis
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 
 
 

70 рядки
1.0 KiB

  1. #
  2. # This test is exactly like 525 but the server rejects the EPRT command.
  3. # Written up to make sure that there's nothing in the multi interface
  4. # active connection case that differs between PORT and EPRT use
  5. #
  6. <testcase>
  7. <info>
  8. <keywords>
  9. FTP
  10. PORT
  11. STOR
  12. multi
  13. EPRT refused
  14. </keywords>
  15. </info>
  16. # Server-side
  17. <reply>
  18. <data>
  19. </data>
  20. <servercmd>
  21. REPLY EPRT 500 we don't like EPRT now
  22. </servercmd>
  23. </reply>
  24. # Client-side
  25. <client>
  26. <server>
  27. ftp
  28. </server>
  29. <tool>
  30. lib525
  31. </tool>
  32. <name>
  33. FTP PORT upload using multi interface, EPRT doesn't work
  34. </name>
  35. <command>
  36. ftp://%HOSTIP:%FTPPORT/path/588 log/upload588
  37. </command>
  38. <file name="log/upload588">
  39. Moooooooooooo
  40. upload this
  41. </file>
  42. </client>
  43. # Verify data after the test has been "shot"
  44. <verify>
  45. # Strip off parts of the PORT and EPRT commands that might differ
  46. <strippart>
  47. s/^PORT (.*)/PORT/
  48. s/^EPRT \|1\|(.*)/EPRT \|1\|/
  49. </strippart>
  50. <protocol>
  51. USER anonymous
  52. PASS ftp@example.com
  53. PWD
  54. CWD path
  55. EPRT |1|
  56. PORT
  57. TYPE I
  58. STOR 588
  59. QUIT
  60. </protocol>
  61. <upload>
  62. Moooooooooooo
  63. upload this
  64. </upload>
  65. </verify>
  66. </testcase>