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