Chapter 3: Condition Reference
71
ftp.method=
Tests FTP request methods against any of a well-known set of FTP methods. A CPL parse error is
given if an unrecognized method is specified.
•
ftp.method= evaluates to true if the request method matches any of the methods specified.
•
ftp.method= evaluates to NULL if the request is not an FTP protocol request.
Syntax
ftp.method=ABOR|ACCT|ALLO|APPE|CDUP|CWD|DELE|HELP|LIST|MDTM|MKD|MODE|NLST|NOOP|P
ASS|PASV|PORT|PWD|REST|RETR|RMD|RNFR|RNTO|SITE|SIZE|SMNT
|STOR|STOU|STRU|SYST|TYPE|USER|XCUP|XCWD|XMKD|XPWD|XRMD|OPEN
where:
•
ftp.method= evaluates to true if the request method matches any of the methods specified.
• It evaluates to NULL if the request is not an FTP protocol request.
Layer and Transaction Notes
•Use in
<Proxy>, <Cache>, and <Exception> layers.
• Applies to FTP transactions.
See Also
• Conditions:
category=, content_management=, http.method=, http.x_method=, im.method=,
method=, server_url=, socks.method=