test715 999 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <testcase>
  2. #based off test 712
  3. <info>
  4. <keywords>
  5. FTP
  6. PASV
  7. RETR
  8. HTTP
  9. HTTP CONNECT
  10. proxytunnel
  11. SOCKS5
  12. CURLOPT_CONNECT_TO
  13. </keywords>
  14. </info>
  15. #
  16. # Server-side
  17. <reply>
  18. <connect>
  19. HTTP/1.1 200 Connection established
  20. </connect>
  21. <data nocheck="yes">
  22. silly content
  23. </data>
  24. <datacheck>
  25. HTTP/1.1 200 Connection established
  26. HTTP/1.1 200 Connection established
  27. silly content
  28. </datacheck>
  29. </reply>
  30. #
  31. # Client-side
  32. <client>
  33. <features>
  34. proxy
  35. </features>
  36. <server>
  37. ftp
  38. http-proxy
  39. socks5
  40. </server>
  41. <features>
  42. http
  43. proxy
  44. </features>
  45. <name>
  46. FTP fetch with --preproxy, --proxy and --connect-to
  47. </name>
  48. <command>
  49. ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy %HOSTIP:%PROXYPORT --preproxy socks5://%HOSTIP:%SOCKSPORT
  50. </command>
  51. </client>
  52. #
  53. # Verify data after the test has been "shot"
  54. <verify>
  55. <protocol>
  56. USER anonymous
  57. PASS ftp@example.com
  58. PWD
  59. EPSV
  60. TYPE I
  61. SIZE %TESTNUMBER
  62. RETR %TESTNUMBER
  63. QUIT
  64. </protocol>
  65. </verify>
  66. </testcase>