mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
ae3d5949b8
directly to ftpserver.cmd and removing unneeded empty sections.
46 lines
619 B
Plaintext
46 lines
619 B
Plaintext
<testcase>
|
|
# Server-side
|
|
<reply>
|
|
<servercmd>
|
|
REPLY NLST 550 Have a taste on this!
|
|
</servercmd>
|
|
<data>
|
|
</data>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP NLST dir list with weird reply code, using PORT
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/ -P - -l
|
|
</command>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<errorcode>
|
|
19
|
|
</errorcode>
|
|
# strip all kinds of PORT, EPRT and LPRT curl can do
|
|
<strip>
|
|
^PORT 127,0,0,1,.*
|
|
^EPRT.*
|
|
^LPRT.*
|
|
</strip>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
PORT 127,0,0,1,243,212
|
|
TYPE A
|
|
NLST
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|