Imported Upstream version 7.59.0
[platform/upstream/curl.git] / tests / data / test532
1 <testcase>
2 <info>
3 <keywords>
4 FTP
5 PASV
6 RETR
7 multi
8 </keywords>
9 </info>
10
11 # Server-side
12 <reply>
13 <data>
14 file contents should appear once for each file
15 </data>
16 <datacheck>
17 file contents should appear once for each file
18 file contents should appear once for each file
19 file contents should appear once for each file
20 file contents should appear once for each file
21 </datacheck>
22 </reply>
23
24 # Client-side
25 <client>
26 <server>
27 ftp
28 </server>
29 <tool>
30 lib532
31 </tool>
32  <name>
33 FTP RETR same file using reset handles between each transfer
34  </name>
35  <command>
36 ftp://%HOSTIP:%FTPPORT/path/532
37 </command>
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 PWD
46 CWD path
47 EPSV
48 TYPE I
49 SIZE 532
50 RETR 532
51 EPSV
52 SIZE 532
53 RETR 532
54 EPSV
55 SIZE 532
56 RETR 532
57 EPSV
58 SIZE 532
59 RETR 532
60 QUIT
61 </protocol>
62 </verify>
63 </testcase>