1<testcase>
2<info>
3<keywords>
4TFTP
5TFTP RRQ
6FILE
7SFTP
8SCP
9multiprotocol
10</keywords>
11</info>
12
13#
14# Server-side
15<reply>
16<data nocheck="yes">
17Test data file
18for tftp test
19</data>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26tftp
27sftp
28</server>
29 <name>
30TFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order
31 </name>
32 <command>
33--key curl_client_key --pubkey curl_client_key.pub -u %USER: tftp://%HOSTIP:%TFTPPORT//2004 sftp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt file://localhost/%PWD/log/test2004.txt scp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt file://localhost/%PWD/log/test2004.txt sftp://%HOSTIP:%SSHPORT%PWD/log/test2004.txt tftp://%HOSTIP:%TFTPPORT//2004 --insecure
34</command>
35<file name="log/test2004.txt">
36This is test data
37for several protocols
38</file>
39</client>
40
41#
42# Verify data after the test has been "shot"
43<verify>
44<protocol>
45opcode: 1
46filename: /2004
47mode: octet
48opcode: 1
49filename: /2004
50mode: octet
51</protocol>
52<stdout>
53Test data file
54for tftp test
55This is test data
56for several protocols
57This is test data
58for several protocols
59This is test data
60for several protocols
61This is test data
62for several protocols
63This is test data
64for several protocols
65Test data file
66for tftp test
67</stdout>
68<valgrind>
69disable
70</valgrind>
71</verify>
72</testcase>
73