test190 590 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. timeout
  6. FAILURE
  7. DELAY
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <servercmd>
  13. DELAY CWD 60
  14. </servercmd>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <killserver>
  22. ftp
  23. </killserver>
  24. <name>
  25. FTP download with strict timeout and slow CWD
  26. </name>
  27. <command>
  28. ftp://%HOSTIP:%FTPPORT/path/to/file/%TESTNUMBER -m %FTPTIME2
  29. </command>
  30. </client>
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. # 28 is CURLE_OPERATION_TIMEDOUT
  34. <errorcode>
  35. 28
  36. </errorcode>
  37. <protocol>
  38. USER anonymous
  39. PASS ftp@example.com
  40. PWD
  41. CWD path
  42. </protocol>
  43. </verify>
  44. </testcase>