mirror of
https://github.com/moparisthebest/curl
synced 2024-10-31 15:45:12 -04:00
6a2e21ec8c
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
38 lines
522 B
Plaintext
38 lines
522 B
Plaintext
# Server-side
|
|
<reply>
|
|
moooooooo
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<killserver>
|
|
ftp
|
|
</killserver>
|
|
<name>
|
|
FTP download with strict timeout and slow CWD
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m 3
|
|
</command>
|
|
<file name="log/ftpserver.cmd">
|
|
DELAY CWD 15
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 28 is CURLE_OPERATION_TIMEOUTED
|
|
<errorcode>
|
|
28
|
|
</errorcode>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS curl_by_daniel@haxx.se
|
|
PWD
|
|
CWD path
|
|
</protocol>
|
|
</verify>
|