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/%TESTNUMBER 42</command> 43</client> 44 45# 46# Verify data after the test has been "shot" 47<verify> 48<strip> 49QUIT 50</strip> 51<protocol> 52USER anonymous 53PASS ftp@example.com 54PWD 55EPSV 56TYPE I 57SIZE %TESTNUMBER 58RETR %TESTNUMBER 59QUIT 60</protocol> 61</verify> 62</testcase> 63