test1107 571 B

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