1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 08:38:49 -05:00
curl/tests/data/test525
Dan Fandrich 33bea767eb Convert (most of) the test data files into genuine XML. A handful still
are not, due mainly to the lack of support for XML character entities
(e.g. & => & ).  This will make it easier to validate test files using
tools like xmllint, as well as edit and view them using XML tools.
2007-01-23 02:25:56 +00:00

58 lines
670 B
Plaintext

<testcase>
<info>
<keywords>
FTP
PORT
STOR
</keywords>
</info>
# Server-side
<reply>
<data>
</data>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<tool>
lib525
</tool>
<name>
FTP PORT upload using multi interface
</name>
<command>
ftp://%HOSTIP:%FTPPORT/path/525 log/upload525
</command>
<file name="log/upload525">
Moooooooooooo
upload this
</file>
</client>
# Verify data after the test has been "shot"
<verify>
<strip>
^PORT .*
^EPRT .*
^LPRT .*
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PWD
CWD path
PORT 127,0,0,1,5,109
TYPE I
STOR 525
QUIT
</protocol>
<upload>
Moooooooooooo
upload this
</upload>
</verify>
</testcase>