test248 718 B

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