<?xml version="1.0" encoding="US-ASCII"?>
<testcase>
<info>
<keywords>
FTP
LIST
wildcardmatch
ftplistparser
</keywords>
</info>

# Directory content is generated by the ftp server itself

# Client-side
<client>
<server>
ftp
</server>
<tool>
lib%TESTNUMBER
</tool>
<name>
FTP wildcards with percent sign in file name
</name>
<command>
ftp://%HOSTIP:%FTPPORT/fully_simulated/percen%74/*.txt
</command>
</client>

############################################
# Verify data after the test has been "shot"
<verify>
<errorcode>
0
</errorcode>

<protocol crlf="yes">
USER anonymous
PASS ftp@example.com
PWD
CWD fully_simulated
CWD percent
EPSV
TYPE A
LIST
EPSV
TYPE I
RETR someothertext.txt
EPSV
RETR some%2etxt
QUIT
</protocol>
<stdout>
match: 'someothertext.txt' against pattern '*.txt'
match: 'some%2etxt' against pattern '*.txt'
Some junk ;-) This file does not really exist.
percent in file name.
</stdout>
</verify>
</testcase>
