test564 826 B

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