test1208 958 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PORT
  6. RETR
  7. NODATACONN150
  8. flaky
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <data nocheck="yes">
  14. some bytes
  15. </data>
  16. <servercmd>
  17. NODATACONN150
  18. </servercmd>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <server>
  23. ftp
  24. </server>
  25. <name>
  26. FTP PORT download, no data conn and no transient negative reply
  27. </name>
  28. <command>
  29. --max-time %FTPTIME2 ftp://%HOSTIP:%FTPPORT/1208 -P -
  30. </command>
  31. </client>
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <strippart>
  35. s/^EPRT \|1\|(.*)/EPRT \|1\|/
  36. </strippart>
  37. # This test doesn't send a QUIT because the main state machine in multi.c
  38. # triggers the timeout and sets the CURLE_OPERATION_TIMEDOUT error (28) for
  39. # which the FTP disconect code generically has to assume could mean the
  40. # control the connection and thus it cannot send any command.
  41. <protocol>
  42. USER anonymous
  43. PASS ftp@example.com
  44. PWD
  45. EPRT |1|
  46. TYPE I
  47. SIZE 1208
  48. RETR 1208
  49. </protocol>
  50. <errorcode>
  51. 28
  52. </errorcode>
  53. </verify>
  54. </testcase>