FTP
--ftp-alternative-to-user
# Server-side
REPLY USER 530 go away
# Client-side
ftp
FTP --ftp-alternative-to-user with embedded CRLF is rejected
# read the command from a config file so the raw CR LF reaches curl intact
ftp-alternative-to-user = "USER me\r\nDELE %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 replacement command is rejected before it is sent, so the injected DELE
# command must never reach the server
USER anonymous