test711 615 B

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