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