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