<?xml version="1.0" encoding="US-ASCII"?>
<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 crlf="yes">
USER anonymous
PASS ftp@example.com
USER anonymous
PASS ftp@example.com
</protocol>
<stdout>
1
</stdout>
</verify>
</testcase>
