| 1 |
<testcase> |
| 2 |
<info> |
| 3 |
<keywords> |
| 4 |
SFTP |
| 5 |
directory |
| 6 |
</keywords> |
| 7 |
</info> |
| 8 |
|
| 9 |
# |
| 10 |
# Server-side |
| 11 |
<reply> |
| 12 |
<datacheck> |
| 13 |
d????????? N U U N ??? N NN:NN . |
| 14 |
d????????? N U U N ??? N NN:NN .. |
| 15 |
d????????? 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> |
| 25 |
sftp |
| 26 |
</server> |
| 27 |
<precheck> |
| 28 |
perl %SRCDIR/libtest/test613.pl prepare %PWD/log/test613.dir |
| 29 |
</precheck> |
| 30 |
<name> |
| 31 |
SFTP directory retrieval |
| 32 |
</name> |
| 33 |
<command> |
| 34 |
--key curl_client_key --pubkey curl_client_key.pub -u %USER: sftp://%HOSTIP:%SSHPORT%POSIX_PWD/log/test613.dir/ --insecure |
| 35 |
</command> |
| 36 |
<postcheck> |
| 37 |
perl %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> |
| 45 |
disable |
| 46 |
</valgrind> |
| 47 |
</verify> |
| 48 |
</testcase> |