test104 502 B

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