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 .
14d?????????    N U         U               N ???  N NN:NN ..
15d?????????    N U         U               N ???  N NN:NN asubdir
16-rw?rw?rw?    1 U         U              37 Jan  1  2000 plainfile.txt
17-r-?r-?r-?    1 U         U              47 Dec 31  2000 rofile.txt
18</datacheck>
19</reply>
20
21#
22# Client-side
23<client>
24<server>
25sftp
26</server>
27<precheck>
28perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test613.dir
29</precheck>
30 <name>
31SFTP directory retrieval
32 </name>
33 <command>
34--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%PWD/log/test613.dir/ --insecure
35</command>
36<postcheck>
37perl %SRCDIR/libtest/test613.pl postprocess %PWD/log/test613.dir %PWD/log/curl613.out
38</postcheck>
39</client>
40
41#
42# Verify data after the test has been "shot"
43<verify>
44<valgrind>
45disable
46</valgrind>
47</verify>
48</testcase>
49