test714 961 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. <features>
  33. proxy
  34. </features>
  35. <server>
  36. ftp
  37. http-proxy
  38. </server>
  39. <features>
  40. http
  41. proxy
  42. </features>
  43. <name>
  44. FTP fetch with --proxy set to http:// and with --connect-to
  45. </name>
  46. <command>
  47. ftp://ftp.example.com.%TESTNUMBER/%TESTNUMBER --connect-to ::connect.example.com.%TESTNUMBER:%FTPPORT --proxytunnel --proxy http://%HOSTIP:%PROXYPORT
  48. </command>
  49. </client>
  50. #
  51. # Verify data after the test has been "shot"
  52. <verify>
  53. <protocol>
  54. USER anonymous
  55. PASS ftp@example.com
  56. PWD
  57. EPSV
  58. TYPE I
  59. SIZE %TESTNUMBER
  60. RETR %TESTNUMBER
  61. QUIT
  62. </protocol>
  63. </verify>
  64. </testcase>