test182 486 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <data sendzero="yes">
  10. </data>
  11. <size>
  12. 0
  13. </size>
  14. </reply>
  15. # Client-side
  16. <client>
  17. <server>
  18. ftp
  19. </server>
  20. <name>
  21. FTP download an empty file
  22. </name>
  23. <command>
  24. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER
  25. </command>
  26. </client>
  27. # Verify data after the test has been "shot"
  28. <verify>
  29. <protocol>
  30. USER anonymous
  31. PASS ftp@example.com
  32. PWD
  33. EPSV
  34. TYPE I
  35. SIZE %TESTNUMBER
  36. RETR %TESTNUMBER
  37. QUIT
  38. </protocol>
  39. </verify>
  40. </testcase>