test712 621 B

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