test248 630 B

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