test1378 741 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. RETR
  6. </keywords>
  7. </info>
  8. # Server-side
  9. <reply>
  10. <data nocheck="yes">
  11. fooo
  12. mooo
  13. </data>
  14. </reply>
  15. # Client-side
  16. <client>
  17. <server>
  18. ftp
  19. </server>
  20. <name>
  21. FTP DL, file without Content-Disposition inside, using -o fname
  22. </name>
  23. <command option="no-output,no-include">
  24. ftp://%HOSTIP:%FTPPORT/path/file1378 -o log/download1378
  25. </command>
  26. <postcheck>
  27. perl %SRCDIR/libtest/notexists.pl log/file1378
  28. </postcheck>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. CWD path
  37. EPSV
  38. TYPE I
  39. SIZE file1378
  40. RETR file1378
  41. QUIT
  42. </protocol>
  43. <file1 name="log/download1378">
  44. fooo
  45. mooo
  46. </file1>
  47. <file2 name="log/stdout1378">
  48. </file2>
  49. </verify>
  50. </testcase>