2
0

test1262 531 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <testcase>
  2. # similar to test 139 but with a reversed time condition
  3. <info>
  4. <keywords>
  5. FTP
  6. RETR
  7. -z
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <mdtm>
  13. 213 20030409102659
  14. </mdtm>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <name>
  22. FTP request and denied to download an older file with -z
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/blalbla/%TESTNUMBER -z "-1 jan 2001"
  26. </command>
  27. </client>
  28. <verify>
  29. <protocol>
  30. USER anonymous
  31. PASS ftp@example.com
  32. PWD
  33. CWD blalbla
  34. MDTM %TESTNUMBER
  35. QUIT
  36. </protocol>
  37. </verify>
  38. </testcase>