test541 588 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <testcase>
  2. # Server-side
  3. <reply>
  4. </reply>
  5. # Client-side
  6. <client>
  7. <server>
  8. ftp
  9. </server>
  10. # tool is what to use instead of 'curl'
  11. <tool>
  12. lib541
  13. </tool>
  14. <name>
  15. FTP upload and upload same file again without rewind
  16. </name>
  17. <command>
  18. ftp://%HOSTIP:%FTPPORT/541 log/upload541
  19. </command>
  20. <file name="log/upload541">
  21. Contents
  22. of
  23. a file
  24. to verify
  25. ftp
  26. upload
  27. works?
  28. </file>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <upload>
  33. </upload>
  34. <protocol>
  35. USER anonymous
  36. PASS ftp@example.com
  37. PWD
  38. EPSV
  39. TYPE I
  40. STOR 541
  41. EPSV
  42. STOR 541
  43. QUIT
  44. </protocol>
  45. </verify>
  46. </testcase>