xref: /curl/tests/data/test196 (revision d69ee3ef)
1<testcase>
2<info>
3<keywords>
4FTP
5retry
6</keywords>
7</info>
8
9# Server-side
10<reply>
11<servercmd>
12REPLY PASS 430 temporarily not available
13</servercmd>
14</reply>
15
16# Client-side
17<client>
18<server>
19ftp
20</server>
21<name>
22FTP transient error, retry request once
23</name>
24<command>
25ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --retry 1 -w '%{num_retries}\n'
26</command>
27</client>
28
29# Verify data after the test has been "shot"
30<verify>
31# 67 is CURLE_LOGIN_DENIED
32<errorcode>
3367
34</errorcode>
35<protocol>
36USER anonymous
37PASS ftp@example.com
38USER anonymous
39PASS ftp@example.com
40</protocol>
41<stdout>
421
43</stdout>
44</verify>
45</testcase>
46