113498266Sopenharmony_ci<testcase>
213498266Sopenharmony_ci<info>
313498266Sopenharmony_ci<keywords>
413498266Sopenharmony_ciSFTP
513498266Sopenharmony_cipre-quote
613498266Sopenharmony_cidirectory
713498266Sopenharmony_ci</keywords>
813498266Sopenharmony_ci</info>
913498266Sopenharmony_ci
1013498266Sopenharmony_ci#
1113498266Sopenharmony_ci# Server-side
1213498266Sopenharmony_ci<reply>
1313498266Sopenharmony_ci<datacheck>
1413498266Sopenharmony_cid?????????    N U         U               N ???  N NN:NN asubdir
1513498266Sopenharmony_ci-r-?r-?r-?    1 U         U              37 Jan  1  2000 plainfile.txt
1613498266Sopenharmony_ci-r-?r-?r-?    1 U         U              47 Dec 31  2000 rofile.txt
1713498266Sopenharmony_ci</datacheck>
1813498266Sopenharmony_ci</reply>
1913498266Sopenharmony_ci
2013498266Sopenharmony_ci#
2113498266Sopenharmony_ci# Client-side
2213498266Sopenharmony_ci<client>
2313498266Sopenharmony_ci<server>
2413498266Sopenharmony_cisftp
2513498266Sopenharmony_ci</server>
2613498266Sopenharmony_ci<precheck>
2713498266Sopenharmony_ciperl %SRCDIR/libtest/test613.pl prepare %PWD/%LOGDIR/test%TESTNUMBER.dir
2813498266Sopenharmony_ci</precheck>
2913498266Sopenharmony_ci<name>
3013498266Sopenharmony_ciSFTP pre-quote chmod
3113498266Sopenharmony_ci</name>
3213498266Sopenharmony_ci<command>
3313498266Sopenharmony_ci--key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -Q "chmod 444 %PWD/%LOGDIR/test%TESTNUMBER.dir/plainfile.txt" sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/ --insecure
3413498266Sopenharmony_ci</command>
3513498266Sopenharmony_ci<postcheck>
3613498266Sopenharmony_ciperl %SRCDIR/libtest/test613.pl postprocess %PWD/%LOGDIR/test%TESTNUMBER.dir %PWD/%LOGDIR/curl%TESTNUMBER.out
3713498266Sopenharmony_ci</postcheck>
3813498266Sopenharmony_ci</client>
3913498266Sopenharmony_ci
4013498266Sopenharmony_ci#
4113498266Sopenharmony_ci# Verify data after the test has been "shot"
4213498266Sopenharmony_ci<verify>
4313498266Sopenharmony_ci<valgrind>
4413498266Sopenharmony_cidisable
4513498266Sopenharmony_ci</valgrind>
4613498266Sopenharmony_ci</verify>
4713498266Sopenharmony_ci</testcase>
48