FTP
# Server-side
# Client-side
ftp
FTP username with embedded CRLF is rejected
# read the credentials from a config file so the raw CR LF reaches curl intact
# regardless of how the platform passes command line arguments
user = "anonymous\r\nSTOR: /%TESTNUMBER"
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -K %LOGDIR/test%TESTNUMBER.config
# Verify data after the test has been "shot"
# 43 - CURLE_BAD_FUNCTION_ARGUMENT
43
# the credentials are rejected before connecting so the injected STOR command
# must never reach the server