1<testcase> 2<info> 3<keywords> 4SFTP 5directory 6</keywords> 7</info> 8 9# 10# Server-side 11<reply> 12<datacheck> 13d????????? N U U N ??? N NN:NN asubdir 14-rw?rw?rw? 1 U U 37 Jan 1 2000 plainfile.txt 15-r-?r-?r-? 1 U U 47 Dec 31 2000 rofile.txt 16</datacheck> 17</reply> 18 19# 20# Client-side 21<client> 22<server> 23sftp 24</server> 25<precheck> 26%PERL %SRCDIR/libtest/test%TESTNUMBER.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir 27</precheck> 28<name> 29SFTP directory retrieval 30</name> 31<command> 32--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure 33</command> 34</client> 35 36# 37# Verify data after the test has been "shot" 38<verify> 39<postcheck> 40%PERL %SRCDIR/libtest/test%TESTNUMBER.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/curl%TESTNUMBER.out 41</postcheck> 42</verify> 43</testcase> 44