2007-01-23 10:25:56 +08:00
|
|
|
<testcase>
|
2012-11-16 19:42:51 +08:00
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
FTP
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
2001-11-03 07:09:02 +08:00
|
|
|
# Server-side
|
|
|
|
<reply>
|
2007-04-19 04:22:01 +08:00
|
|
|
<servercmd>
|
|
|
|
DELAY CWD 60
|
|
|
|
</servercmd>
|
2001-11-03 07:09:02 +08:00
|
|
|
</reply>
|
|
|
|
|
|
|
|
# Client-side
|
|
|
|
<client>
|
2003-05-01 04:25:39 +08:00
|
|
|
<server>
|
|
|
|
ftp
|
|
|
|
</server>
|
2004-02-27 06:40:33 +08:00
|
|
|
<killserver>
|
|
|
|
ftp
|
|
|
|
</killserver>
|
2001-11-03 07:09:02 +08:00
|
|
|
<name>
|
|
|
|
FTP download with strict timeout and slow CWD
|
|
|
|
</name>
|
2008-04-25 12:19:50 +08:00
|
|
|
<command timeout="1">
|
2006-05-11 14:34:30 +08:00
|
|
|
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2
|
2001-11-03 07:09:02 +08:00
|
|
|
</command>
|
2005-01-26 05:45:03 +08:00
|
|
|
</client>
|
2001-11-03 07:09:02 +08:00
|
|
|
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
2007-08-31 04:34:57 +08:00
|
|
|
# 28 is CURLE_OPERATION_TIMEDOUT
|
2001-11-03 07:09:02 +08:00
|
|
|
<errorcode>
|
|
|
|
28
|
|
|
|
</errorcode>
|
|
|
|
<protocol>
|
|
|
|
USER anonymous
|
2007-02-14 06:50:16 +08:00
|
|
|
PASS ftp@example.com
|
2001-11-03 07:09:02 +08:00
|
|
|
PWD
|
2003-05-01 01:16:25 +08:00
|
|
|
CWD path
|
2001-11-03 07:09:02 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
2007-01-23 10:25:56 +08:00
|
|
|
</testcase>
|