2
0

test713 671 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. #based off test 712
  3. <info>
  4. <keywords>
  5. FTP
  6. PASV
  7. RETR
  8. SOCKS5
  9. CURLOPT_CONNECT_TO
  10. </keywords>
  11. </info>
  12. #
  13. # Server-side
  14. <reply>
  15. <data>
  16. silly content
  17. </data>
  18. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <features>
  23. proxy
  24. </features>
  25. <server>
  26. ftp
  27. socks5
  28. </server>
  29. <name>
  30. FTP fetch with --proxy set to socks5:// and with --connect-to
  31. </name>
  32. <command>
  33. ftp://ftp.example.com/%TESTNUMBER --connect-to ::%HOSTIP:%FTPPORT --proxy socks5://%HOSTIP:%SOCKSPORT
  34. </command>
  35. </client>
  36. #
  37. # Verify data after the test has been "shot"
  38. <verify>
  39. <protocol>
  40. USER anonymous
  41. PASS ftp@example.com
  42. PWD
  43. EPSV
  44. TYPE I
  45. SIZE %TESTNUMBER
  46. RETR %TESTNUMBER
  47. QUIT
  48. </protocol>
  49. </verify>
  50. </testcase>