Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test1225
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 RETR
7 </keywords>
8 </info>
9 # Server-side
10 <reply>
11 <data>
12 data
13     to
14       see
15 that FTP
16 works
17   so does it?
18 </data>
19 </reply>
20
21 # Client-side
22 <client>
23 <server>
24 ftp
25 </server>
26  <name>
27 FTP fetch two files using absolute paths
28  </name>
29  <command>
30 ftp://%HOSTIP:%FTPPORT//foo/1225 ftp://%HOSTIP:%FTPPORT//foo/bar/1225
31 </command>
32
33 </client>
34
35 # Verify data after the test has been "shot"
36 <verify>
37 <protocol>
38 USER anonymous
39 PASS ftp@example.com
40 PWD
41 CWD /
42 CWD foo
43 EPSV
44 TYPE I
45 SIZE 1225
46 RETR 1225
47 CWD /
48 CWD /
49 CWD foo
50 CWD bar
51 EPSV
52 SIZE 1225
53 RETR 1225
54 QUIT
55 </protocol>
56 </verify>
57 </testcase>