test216 629 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. <name>
  16. FTP upload two files to the same dir
  17. </name>
  18. <command>
  19. -T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/ -T log/upload.216 ftp://%HOSTIP:%FTPPORT/a/path/216/%2e%2eanotherup
  20. </command>
  21. <file name="log/upload.216">
  22. upload this file twice
  23. </file>
  24. </client>
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. <protocol>
  28. USER anonymous
  29. PASS ftp@example.com
  30. PWD
  31. CWD a
  32. CWD path
  33. CWD 216
  34. EPSV
  35. TYPE I
  36. STOR upload.216
  37. EPSV
  38. STOR ..anotherup
  39. QUIT
  40. </protocol>
  41. </verify>
  42. </testcase>