test542 690 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <datacheck>
  20. Content-Length: 51
  21. Accept-ranges: bytes
  22. </datacheck>
  23. </reply>
  24. # Client-side
  25. <client>
  26. <server>
  27. ftp
  28. </server>
  29. <tool>
  30. lib542
  31. </tool>
  32. <name>
  33. FTP a file with NOBODY yes and HEADER no
  34. </name>
  35. <command>
  36. ftp://%HOSTIP:%FTPPORT/542
  37. </command>
  38. </client>
  39. # Verify data after the test has been "shot"
  40. #
  41. # There's no MTDM in the protocol here since this code doesn't ask for the
  42. # time/date of the file
  43. <verify>
  44. <protocol>
  45. USER anonymous
  46. PASS ftp@example.com
  47. PWD
  48. TYPE I
  49. SIZE 542
  50. REST 0
  51. QUIT
  52. </protocol>
  53. </verify>
  54. </testcase>