test1120 578 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. PORT
  6. RETR
  7. 421
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. REPLY CWD 421 Timeout!
  14. </servercmd>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <name>
  22. FTP with 421 timeout response
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/a/path/1120
  26. </command>
  27. </client>
  28. # Verify data after the test has been "shot"
  29. <verify>
  30. # Strip all valid kinds of PORT and EPRT that curl can send
  31. <protocol>
  32. USER anonymous
  33. PASS ftp@example.com
  34. PWD
  35. CWD a
  36. </protocol>
  37. # CURLE_OPERATION_TIMEDOUT is 28
  38. <errorcode>
  39. 28
  40. </errorcode>
  41. </verify>
  42. </testcase>