test107 590 B

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