xref: /curl/tests/data/test407 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4FTP
5FTPS
6PASV
7RETR
8</keywords>
9</info>
10
11# Server-side
12<reply>
13<data>
14data blobb
15</data>
16
17# data is sent to stdout
18</reply>
19
20# Client-side
21<client>
22<features>
23SSL
24</features>
25<server>
26ftps
27</server>
28<name>
29Get 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/%TESTNUMBER ftps://%HOSTIP:%FTPSPORT/a/path/%TESTNUMBER
33</command>
34<stdout>
35data blobb
36data blobb
37</stdout>
38</client>
39
40# Verify data after the test has been "shot"
41<verify>
42<protocol>
43USER anonymous
44PASS ftp@example.com
45PBSZ 0
46PROT C
47PWD
48CWD a
49CWD path
50EPSV
51TYPE I
52SIZE %TESTNUMBER
53RETR %TESTNUMBER
54EPSV
55SIZE %TESTNUMBER
56RETR %TESTNUMBER
57QUIT
58</protocol>
59</verify>
60</testcase>
61