test140 521 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. -z
  6. --data-binary
  7. </keywords>
  8. </info>
  9. # Server-side
  10. <reply>
  11. <data>
  12. </data>
  13. <mdtm>
  14. 213 20030409102659
  15. </mdtm>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. ftp
  21. </server>
  22. <name>
  23. FTP download file with -z, expected to not transfer
  24. </name>
  25. <command>
  26. ftp://%HOSTIP:%FTPPORT/blalbla/140 -z "1 jan 2004"
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <protocol>
  32. USER anonymous
  33. PASS ftp@example.com
  34. PWD
  35. CWD blalbla
  36. MDTM 140
  37. QUIT
  38. </protocol>
  39. </verify>
  40. </testcase>