2
0

test1225 661 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. data
  13. to
  14. see
  15. that FTP
  16. works
  17. so does it?
  18. </data>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. ftp
  24. </server>
  25. <name>
  26. FTP fetch two files using absolute paths
  27. </name>
  28. <command>
  29. ftp://%HOSTIP:%FTPPORT//foo/%TESTNUMBER ftp://%HOSTIP:%FTPPORT//foo/bar/%TESTNUMBER
  30. </command>
  31. </client>
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <protocol>
  35. USER anonymous
  36. PASS ftp@example.com
  37. PWD
  38. CWD /
  39. CWD foo
  40. EPSV
  41. TYPE I
  42. SIZE %TESTNUMBER
  43. RETR %TESTNUMBER
  44. CWD /
  45. CWD foo
  46. CWD bar
  47. EPSV
  48. SIZE %TESTNUMBER
  49. RETR %TESTNUMBER
  50. QUIT
  51. </protocol>
  52. </verify>
  53. </testcase>