test109 600 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. EPSV
  6. APPE
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. </data>
  13. </reply>
  14. # Client-side
  15. <client>
  16. <server>
  17. ftp
  18. </server>
  19. <name>
  20. FTP PASV upload append
  21. </name>
  22. <command>
  23. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER --append
  24. </command>
  25. <file name="%LOGDIR/upload%TESTNUMBER">
  26. Moooooooooooo
  27. upload this
  28. </file>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. EPSV
  37. TYPE I
  38. APPE %TESTNUMBER
  39. QUIT
  40. </protocol>
  41. <upload>
  42. Moooooooooooo
  43. upload this
  44. </upload>
  45. </verify>
  46. </testcase>