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