test138 570 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Server-side
  2. <reply>
  3. <data>
  4. this is file contents
  5. </data>
  6. <size>
  7. -1
  8. </size>
  9. </reply>
  10. # Client-side
  11. <client>
  12. <server>
  13. ftp
  14. </server>
  15. <name>
  16. FTP download without size in RETR string and no SIZE command
  17. </name>
  18. <command>
  19. ftp://%HOSTIP:%FTPPORT/blalbla/lululul/138
  20. </command>
  21. <file name="log/ftpserver.cmd">
  22. RETRNOSIZE
  23. </file>
  24. </test>
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. <protocol>
  28. USER anonymous
  29. PASS curl_by_daniel@haxx.se
  30. PWD
  31. CWD blalbla
  32. CWD lululul
  33. EPSV
  34. TYPE I
  35. SIZE 138
  36. RETR 138
  37. QUIT
  38. </protocol>
  39. </verify>