2
0
mirror of https://github.com/curl/curl.git synced 2024-12-21 06:50:10 +08:00
curl/tests/data/test190

45 lines
575 B
Plaintext
Raw Normal View History

<testcase>
<info>
<keywords>
FTP
</keywords>
</info>
2001-11-03 07:09:02 +08:00
# Server-side
<reply>
<servercmd>
DELAY CWD 60
</servercmd>
2001-11-03 07:09:02 +08:00
</reply>
# Client-side
<client>
<server>
ftp
</server>
<killserver>
ftp
</killserver>
2001-11-03 07:09:02 +08:00
<name>
FTP download with strict timeout and slow CWD
</name>
<command timeout="1">
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m %FTPTIME2
2001-11-03 07:09:02 +08:00
</command>
</client>
2001-11-03 07:09:02 +08:00
# Verify data after the test has been "shot"
<verify>
# 28 is CURLE_OPERATION_TIMEDOUT
2001-11-03 07:09:02 +08:00
<errorcode>
28
</errorcode>
<protocol>
USER anonymous
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>
</testcase>