Debian Codegraph @

curl/tests/data/test228

raw
1 # Server-side
2 <reply>
3 <data>
4 data
5 to
6 see
7 that FTP
8 works
9 so does it?
10 </data>
11 </reply>
12
13 # Client-side
14 <client>
15 <server>
16 ftp
17 </server>
18 <name>
19 FTP RETR with ACCT
20 </name>
21 <command>
22 ftp://%HOSTIP:%FTPPORT/228 --ftp-account "one count"
23 </command>
24 <file name="log/ftpserver.cmd">
25 REPLY PASS 332 please provide account name
26 REPLY ACCT 230 thank you
27 </file>
28 </client>
29
30
31 # Verify data after the test has been "shot"
32 <verify>
33 <protocol>
34 USER anonymous
35 PASS [email protected]
36 ACCT one count
37 PWD
38 EPSV
39 TYPE I
40 SIZE 228
41 RETR 228
42 QUIT
43 </protocol>
44 </verify>