| xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame] | 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 | |||||
| 17 | # Client-side | ||||
| 18 | <client> | ||||
| 19 | <server> | ||||
| 20 | ftp | ||||
| 21 | </server> | ||||
| 22 | <name> | ||||
| 23 | FTP with 421 timeout response | ||||
| 24 | </name> | ||||
| 25 | <command> | ||||
| 26 | ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER | ||||
| 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> | ||||
| 34 | USER anonymous | ||||
| 35 | PASS ftp@example.com | ||||
| 36 | PWD | ||||
| 37 | CWD a | ||||
| 38 | </protocol> | ||||
| 39 | # CURLE_OPERATION_TIMEDOUT is 28 | ||||
| 40 | <errorcode> | ||||
| 41 | 28 | ||||
| 42 | </errorcode> | ||||
| 43 | </verify> | ||||
| 44 | </testcase> | ||||