test1096 633 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PASV
  6. RETR
  7. FAILURE
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. REPLY RETR 550 no such file!
  14. </servercmd>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <name>
  22. Two FTP downloads, with failed RETR but re-used control connection
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/dir/1096 ftp://%HOSTIP:%FTPPORT/dir/1096
  26. </command>
  27. </client>
  28. # Verify data after the test has been "shot"
  29. <verify>
  30. <errorcode>
  31. 78
  32. </errorcode>
  33. <protocol>
  34. USER anonymous
  35. PASS ftp@example.com
  36. PWD
  37. CWD dir
  38. EPSV
  39. TYPE I
  40. SIZE 1096
  41. RETR 1096
  42. EPSV
  43. SIZE 1096
  44. RETR 1096
  45. QUIT
  46. </protocol>
  47. </verify>
  48. </testcase>