test625 908 B

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