test714 890 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. CURLOPT_CONNECT_TO
  12. </keywords>
  13. </info>
  14. #
  15. # Server-side
  16. <reply>
  17. <connect>
  18. HTTP/1.1 200 Connection established
  19. </connect>
  20. <data nocheck="yes">
  21. silly content
  22. </data>
  23. <datacheck>
  24. HTTP/1.1 200 Connection established
  25. HTTP/1.1 200 Connection established
  26. silly content
  27. </datacheck>
  28. </reply>
  29. #
  30. # Client-side
  31. <client>
  32. <server>
  33. ftp
  34. http-proxy
  35. </server>
  36. <features>
  37. http
  38. </features>
  39. <name>
  40. FTP fetch with --proxy set to http:// and with --connect-to
  41. </name>
  42. <command>
  43. ftp://ftp.example.com.714/714 --connect-to ::connect.example.com.714:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
  44. </command>
  45. </client>
  46. #
  47. # Verify data after the test has been "shot"
  48. <verify>
  49. <protocol>
  50. USER anonymous
  51. PASS ftp@example.com
  52. PWD
  53. EPSV
  54. TYPE I
  55. SIZE 714
  56. RETR 714
  57. QUIT
  58. </protocol>
  59. </verify>
  60. </testcase>