| <testcase> |
| <info> |
| <keywords> |
| SFTP |
| SFTP put |
| FAILURE |
| </keywords> |
| </info> |
| |
| # |
| # Server-side |
| <reply> |
| </reply> |
| |
| # |
| # Client-side |
| <client> |
| <server> |
| sftp |
| </server> |
| <name> |
| SFTP put failure |
| </name> |
| <command> |
| --key curl_client_key --pubkey curl_client_key.pub -u %USER: -T log/file%TESTNUMBER.txt sftp://%HOSTIP:%SSHPORT%SSH_PWD/log/nonexistent-directory/nonexistent-file --insecure |
| </command> |
| <file name="log/file%TESTNUMBER.txt"> |
| Test data |
| for ssh upload test |
| </file> |
| </client> |
| |
| # |
| # Verify data after the test has been "shot" |
| <verify> |
| <errorcode> |
| 78 |
| </errorcode> |
| <valgrind> |
| disable |
| </valgrind> |
| </verify> |
| </testcase> |