xref: /curl/tests/data/test228 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5ACCT
6</keywords>
7</info>
8# Server-side
9<reply>
10<data>
11data
12    to
13      see
14that FTP
15works
16  so does it?
17</data>
18<servercmd>
19REPLY PASS 332 please provide account name
20REPLY ACCT 230 thank you
21</servercmd>
22</reply>
23
24# Client-side
25<client>
26<server>
27ftp
28</server>
29<name>
30FTP RETR with ACCT
31</name>
32<command>
33ftp://%HOSTIP:%FTPPORT/%TESTNUMBER --ftp-account "one count"
34</command>
35</client>
36
37
38# Verify data after the test has been "shot"
39<verify>
40<strip>
41QUIT
42</strip>
43<protocol>
44USER anonymous
45PASS ftp@example.com
46ACCT one count
47PWD
48EPSV
49TYPE I
50SIZE %TESTNUMBER
51RETR %TESTNUMBER
52QUIT
53</protocol>
54</verify>
55</testcase>
56