test190 575 B

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