1<testcase> 2<info> 3<keywords> 4SFTP 5SFTP put 6--ftp-create-dirs 7</keywords> 8</info> 9 10# 11# Server-side 12<reply> 13</reply> 14 15# 16# Client-side 17<client> 18<server> 19sftp 20</server> 21<name> 22SFTP put with --ftp-create-dirs 23</name> 24<command> 25--ftp-create-dirs --key %LOGDIR/server/curl_client_key --pubkey %LOGDIR/server/curl_client_key.pub -u %USER: -T %LOGDIR/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/%LOGDIR/test%TESTNUMBER.dir/upload.%TESTNUMBER --insecure 26</command> 27<file name="%LOGDIR/file%TESTNUMBER.txt"> 28Test data 29for ssh upload test 30</file> 31</client> 32 33# 34# Verify data after the test has been "shot" 35<verify> 36<upload> 37Test data 38for ssh upload test 39</upload> 40<postcheck> 41%PERL %SRCDIR/libtest/test610.pl move %PWD/%LOGDIR/test%TESTNUMBER.dir/upload.%TESTNUMBER %PWD/%LOGDIR/upload.%TESTNUMBER rmdir %PWD/%LOGDIR/test%TESTNUMBER.dir 42</postcheck> 43</verify> 44</testcase> 45