1<testcase>
2<info>
3<keywords>
4FTP
5PASV
6CURLOPT_PORT
7</keywords>
8</info>
9#
10# Server-side
11<reply>
12<data>
13line 1
14line 2
15last line
16</data>
17<datacheck>
18[OPEN] counter: 1
19[OPEN] counter: 2
20line 1
21line 2
22last line
23[CLOSE] counter: 2
24[CLOSE] counter: 1
25</datacheck>
26</reply>
27
28#
29# Client-side
30<client>
31<server>
32ftp
33</server>
34<tool>
35lib585
36</tool>
37 <name>
38FTP and open/close socket callbacks
39 </name>
40 <command>
41ftp://%HOSTIP:%FTPPORT/586
42</command>
43</client>
44
45#
46# Verify data after the test has been "shot"
47<verify>
48<protocol>
49USER anonymous
50PASS ftp@example.com
51PWD
52EPSV
53TYPE I
54SIZE 586
55RETR 586
56QUIT
57</protocol>
58</verify>
59</testcase>
60