Imported Upstream version 7.59.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
44 PASS ftp@example.com
45 PBSZ 0
46 PROT C
47 PWD
48 CWD a
49 CWD path
50 EPSV
51 TYPE I
52 SIZE 407
53 RETR 407
54 EPSV
55 SIZE 407
56 RETR 407
57 QUIT
58 </protocol>
59 </verify>
60 </testcase>