Options (OPTS) - KB Article #1482Related Articles --
The OPTS command is a required command if the FEAT command is also implemented. The OPTS command is used to provide additional information for extended features supported by the FTP server.
The OPTS command will be followed by the name of the command requiring additional information. Following the command being configured will be additional parameters that have meaning only in the context of the command being configured. FTP Voyager currently issues the OPTS command under two circumstances:
- MODE - FTP Voyager will issue an OPTS MODE command to servers to configure extended options for a given transfer mode. Most commonly MODE is implemented in the "MODE Z LEVEL X" command for supporting on-the-fly compression to configure the level of compression to use for the session where 'X' is a number between 1 (fastest, least compression) and 10 (slowest, most compression). FTP Voyager uses a default value of 6.
- MLST - FTP Voyager may issue an OPTS MLST command to servers supporting the MLST command in order to configure the amount of information sent by the server in response to the MLST command. It is issued in the format OPTS MLST Info1;Info2;Info3 etc, with each type of information separated by a semicolon. Information types can include Type (filetype), Size (filesize), Modify (last modification date), Create (date of file creation), and more. The information types the server supports are sent to the client as part of the server's response to the FEAT command, and used to determine the contents of the OPTS MLST command issued to the server.
- UTF8 - Configures the server to enable (ON) or disable (OFF) UTF-8 encoding which is useful for non-ANSI character sets. This is very useful for Asian file names and paths.
500, 501, 502