test1570 809 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data nocheck="yes">
  12. data
  13. to
  14. see
  15. that FTP
  16. works
  17. so does it?
  18. </data>
  19. <servercmd>
  20. REPLY EPSV 500 no such command
  21. </servercmd>
  22. </reply>
  23. # Client-side
  24. <client>
  25. <server>
  26. ftp
  27. </server>
  28. <name>
  29. FTP first type=D then regular URL
  30. </name>
  31. <tool>
  32. lib1569
  33. </tool>
  34. <command>
  35. "ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=D" ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  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. EPSV
  45. PASV
  46. TYPE A
  47. NLST
  48. PASV
  49. TYPE I
  50. SIZE %TESTNUMBER
  51. RETR %TESTNUMBER
  52. QUIT
  53. </protocol>
  54. </verify>
  55. <stdout>
  56. data
  57. to
  58. see
  59. that FTP
  60. works
  61. so does it?
  62. data
  63. to
  64. see
  65. that FTP
  66. works
  67. so does it?
  68. </stdout>
  69. </testcase>