test1096 713 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. REPLY SIZE 500 command not understood
  15. </servercmd>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. ftp
  21. </server>
  22. <name>
  23. Two FTP downloads, with failed RETR but re-used control connection
  24. </name>
  25. <command>
  26. ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/dir/%TESTNUMBER
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <errorcode>
  32. 78
  33. </errorcode>
  34. <protocol>
  35. USER anonymous
  36. PASS ftp@example.com
  37. PWD
  38. CWD dir
  39. EPSV
  40. TYPE I
  41. SIZE %TESTNUMBER
  42. RETR %TESTNUMBER
  43. EPSV
  44. SIZE %TESTNUMBER
  45. RETR %TESTNUMBER
  46. QUIT
  47. </protocol>
  48. </verify>
  49. </testcase>