test2004

来自「THIS IS HTTP CURL Example」· 代码 · 共 73 行

TXT
73
字号
<testcase><info><keywords>TFTPTFTP RRQFILESFTPSCPmultiprotocol</keywords></info>## Server-side<reply><data nocheck="1">Test data filefor tftp test</data></reply>## Client-side<client><server>tftpsftp</server> <name>TFTP RRQ followed by SFTP retrieval followed by FILE followed by SCP retrieval then again in reverse order </name> <command>--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</command><file name="log/test2004.txt">This is test datafor several protocols</file></client>## Verify data after the test has been "shot"<verify><protocol>opcode: 1filename: /2004mode: octetopcode: 1filename: /2004mode: octet</protocol><stdout>Test data filefor tftp testThis is test datafor several protocolsThis is test datafor several protocolsThis is test datafor several protocolsThis is test datafor several protocolsThis is test datafor several protocolsTest data filefor tftp test</stdout><valgrind>disable</valgrind></verify></testcase>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?