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