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

# Test based on GitHub issue 17659
# Server-side
<reply>
<data>
-foo-
</data>
</reply>

# Client-side
<client>
<server>
ftp
</server>
<name>
FTP with netrc using no user but control code in password
</name>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER %LOGDIR/netrc%TESTNUMBER
</command>
<tool>
lib%TESTNUMBER
</tool>
<file name="%LOGDIR/netrc%TESTNUMBER" nonewline="yes">
default   passwor?dlogin anonymou\ ' password login anonymous       passwor?d.'macdef
</file>
</client>

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