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