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