mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
0e74e1d8d8
Add test 582 for uploading a file using sftp and the multi interface. (Patch and test slightly tweaked by Daniel Stenberg) Initially marked as disabled until it is fixed in the source.
47 lines
581 B
Plaintext
47 lines
581 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
SFTP
|
|
multi
|
|
</keywords>
|
|
</info>
|
|
|
|
# Server-side
|
|
<reply>
|
|
<data>
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
sftp
|
|
</server>
|
|
<tool>
|
|
lib582
|
|
</tool>
|
|
<name>
|
|
SFTP upload using multi interface
|
|
</name>
|
|
<command>
|
|
Sftp://%HOSTIP:%SSHPORT%PWD/log/upload582.txt %PWD/log/file582.txt %USER:
|
|
</command>
|
|
<file name="log/file582.txt">
|
|
Moooooooooooo
|
|
upload this
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<strip>
|
|
</strip>
|
|
<protocol>
|
|
</protocol>
|
|
<file name="log/file582.txt">
|
|
Moooooooooooo
|
|
upload this
|
|
</file>
|
|
</verify>
|
|
</testcase>
|