mirror of
https://github.com/curl/curl.git
synced 2025-01-06 13:44:52 +08:00
d69ee3ef83
Suggested-by: Jay Guerette Ref: https://github.com/curl/curl/discussions/13901 Closes #13910
46 lines
609 B
Plaintext
46 lines
609 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
retry
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
REPLY PASS 430 temporarily not available
|
|
</servercmd>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP transient error, retry request once
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --retry 1 -w '%{num_retries}\n'
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
# 67 is CURLE_LOGIN_DENIED
|
|
<errorcode>
|
|
67
|
|
</errorcode>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
</protocol>
|
|
<stdout>
|
|
1
|
|
</stdout>
|
|
</verify>
|
|
</testcase>
|