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