test715 928 B

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