test564 673 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. multi
  8. SOCKS4
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <data>
  14. data
  15. to
  16. see
  17. that FTP
  18. works
  19. so does it?
  20. </data>
  21. </reply>
  22. # Client-side
  23. <client>
  24. <server>
  25. ftp
  26. socks4
  27. </server>
  28. <tool>
  29. lib564
  30. </tool>
  31. <name>
  32. FTP RETR a file over a SOCKS proxy using the multi interface
  33. </name>
  34. <command>
  35. ftp://%HOSTIP:%FTPPORT/path/564 %HOSTIP:%SOCKSPORT
  36. </command>
  37. </client>
  38. # Verify data after the test has been "shot"
  39. <verify>
  40. <protocol>
  41. USER anonymous
  42. PASS ftp@example.com
  43. PWD
  44. CWD path
  45. EPSV
  46. TYPE I
  47. SIZE 564
  48. RETR 564
  49. QUIT
  50. </protocol>
  51. <stdout>
  52. data
  53. to
  54. see
  55. that FTP
  56. works
  57. so does it?
  58. </stdout>
  59. </verify>
  60. </testcase>