| <?xml version="1.0" encoding="US-ASCII"?> |
| <testcase> |
| <info> |
| <keywords> |
| FTP |
| PASV |
| RETR |
| FAILURE |
| </keywords> |
| </info> |
| # Server-side |
| <reply> |
| <servercmd> |
| REPLY PWD 257 %hex["/%03"]hex% |
| </servercmd> |
| </reply> |
| |
| # Client-side |
| <client> |
| <server> |
| ftp |
| </server> |
| <name> |
| FTP with control characters in PWD response |
| </name> |
| <command> |
| ftp://%HOSTIP:%FTPPORT/%TESTNUMBER |
| </command> |
| </client> |
| |
| # Verify data after the test has been "shot" |
| <verify> |
| <errorcode> |
| 8 |
| </errorcode> |
| <protocol crlf="yes"> |
| USER anonymous |
| PASS ftp@example.com |
| PWD |
| </protocol> |
| </verify> |
| </testcase> |