test541 684 B

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