test1378 806 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/file%TESTNUMBER -o %LOGDIR/download%TESTNUMBER
  25. </command>
  26. <postcheck>
  27. perl %SRCDIR/libtest/notexists.pl %LOGDIR/file%TESTNUMBER
  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 file%TESTNUMBER
  40. RETR file%TESTNUMBER
  41. QUIT
  42. </protocol>
  43. <file1 name="%LOGDIR/download%TESTNUMBER">
  44. fooo
  45. mooo
  46. </file1>
  47. <file2 name="%LOGDIR/stdout%TESTNUMBER">
  48. </file2>
  49. </verify>
  50. </testcase>