test586 634 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. CURLOPT_PORT
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. <data>
  13. line 1
  14. line 2
  15. last line
  16. </data>
  17. <datacheck>
  18. [OPEN] counter: 1
  19. [OPEN] counter: 2
  20. line 1
  21. line 2
  22. last line
  23. [CLOSE] counter: 2
  24. [CLOSE] counter: 1
  25. </datacheck>
  26. </reply>
  27. #
  28. # Client-side
  29. <client>
  30. <server>
  31. ftp
  32. </server>
  33. <tool>
  34. lib585
  35. </tool>
  36. <name>
  37. FTP and open/close socket callbacks
  38. </name>
  39. <command>
  40. ftp://%HOSTIP:%FTPPORT/586
  41. </command>
  42. </client>
  43. #
  44. # Verify data after the test has been "shot"
  45. <verify>
  46. <protocol>
  47. USER anonymous
  48. PASS ftp@example.com
  49. PWD
  50. EPSV
  51. TYPE I
  52. SIZE 586
  53. RETR 586
  54. QUIT
  55. </protocol>
  56. </verify>
  57. </testcase>