Debian Codegraph @

curl/tests/data/test147

raw
1 # Server-side
2 <reply>
3 <data>
4 foo
5 </data>
6 </reply>
7
8 # Client-side
9 <client>
10 <server>
11 ftp
12 </server>
13 <name>
14 FTP with --ftp-create-dirs (failing CWD)
15 </name>
16 <command>
17 ftp://%HOSTIP:%FTPPORT/first/dir/here/147 --ftp-create-dirs
18 </command>
19 <file name="log/ftpserver.cmd">
20 REPLY CWD 550 I won't allow this on my server
21 COUNT CWD 1
22 </file>
23 </client>
24
25 # Verify data after the test has been "shot"
26 <verify>
27 # strip all kinds of PORT, EPRT and LPRT curl can do
28 <strip>
29 ^PORT 127,0,0,1,.*
30 ^EPRT.*
31 ^LPRT.*
32 </strip>
33 <protocol>
34 USER anonymous
35 PASS [email protected]
36 PWD
37 CWD first
38 MKD first
39 CWD first
40 CWD dir
41 CWD here
42 EPSV
43 TYPE I
44 SIZE 147
45 RETR 147
46 QUIT
47 </protocol>
48 </verify>