test104 439 B

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