xref: /curl/tests/data/test210 (revision cd4aee15)
1<testcase>
2<info>
3<keywords>
4FTP
5</keywords>
6</info>
7
8# Server-side
9<reply>
10<data>
11data blobb
12</data>
13
14# data is sent to stdout
15</reply>
16
17# Client-side
18<client>
19<server>
20ftp
21</server>
22<name>
23Get two FTP files from the same remote dir: no second CWD
24</name>
25<command option="no-include">
26ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER ftp://%HOSTIP:%FTPPORT/a/path/%TESTNUMBER
27</command>
28<stdout>
29data blobb
30data blobb
31</stdout>
32</client>
33
34# Verify data after the test has been "shot"
35<verify>
36<strip>
37QUIT
38</strip>
39<protocol>
40USER anonymous
41PASS ftp@example.com
42PWD
43CWD a
44CWD path
45EPSV
46TYPE I
47SIZE %TESTNUMBER
48RETR %TESTNUMBER
49EPSV
50SIZE %TESTNUMBER
51RETR %TESTNUMBER
52QUIT
53</protocol>
54</verify>
55</testcase>
56