test711 599 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. </reply>
  19. #
  20. # Client-side
  21. <client>
  22. <server>
  23. ftp
  24. socks5
  25. </server>
  26. <setenv>
  27. all_proxy=socks5://%HOSTIP:%SOCKSPORT
  28. </setenv>
  29. <name>
  30. FTP fetch with all_proxy set to socks5
  31. </name>
  32. <command>
  33. ftp://%HOSTIP:%FTPPORT/711
  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 711
  46. RETR 711
  47. QUIT
  48. </protocol>
  49. </verify>
  50. </testcase>