1<testcase> 2<info> 3<keywords> 4FTP 5</keywords> 6</info> 7 8# 9# Server-side 10<reply> 11<data> 12</data> 13</reply> 14 15# Client-side 16<client> 17<server> 18ftp 19</server> 20# tool is what to use instead of 'curl' 21<tool> 22lib%TESTNUMBER 23</tool> 24 25 <name> 26Avoid redundant CWDs 27 </name> 28 <command> 29ftp://%HOSTIP:%FTPPORT/ 30</command> 31</client> 32 33# 34# Verify data after the test has been "shot" 35<verify> 36<protocol> 37USER anonymous 38PASS ftp@example.com 39PWD 40CWD /folderA 41EPSV 42TYPE I 43RETR %TESTNUMBER 44CWD /folderB 45EPSV 46RETR %TESTNUMBER 47QUIT 48USER anonymous 49PASS ftp@example.com 50PWD 51EPSV 52TYPE I 53RETR /folderA/%TESTNUMBER 54CWD /folderB 55EPSV 56RETR %TESTNUMBER 57EPSV 58RETR /folderA/%TESTNUMBER 59QUIT 60USER anonymous 61PASS ftp@example.com 62PWD 63SYST 64QUIT 65USER anonymous 66PASS ftp@example.com 67PWD 68SYST 69SYST 70QUIT 71</protocol> 72</verify> 73</testcase> 74