FileZilla CLI Settings

To list the available settings enter the set command:

    set

To view a value of an specific settings use set command followed by the setting name:

    fzcli> set engine.log.file

To modify a setting use set followed by the setting name and a value:

    fzcli> set engine.log.file fzcli.log

The settings of type flag can have only two values:

    0 – disables the flag
    1 – enables the flag

Saving the settings

By default a setting change is only valid during the current session. To save the changes
across sessions use the set save command:

    fzcli> set save

FTP mode

    engine.passive_mode, flag: enables the passive mode.

Limit ports

    engine.limit_ports, flag: enable local port restricting

Limit local ports range

    engine.limit_ports.low: lowest available port.
    engine.limit_ports.low: highest available port.

Keep-Alive commands

    engine.ftp.send_keepalive, flags: whether send keep alive commands or not

FTP Proxy

    engine.ftp.proxy.type
    0 – none
    1 – user@host
    2 – site
    3 – open
    4 – custom

engine.ftp.proxy.host: proxy host
engine.ftp.proxy.user: proxy user
engine.ftp.proxy.password: proxy password
engine.ftp.proxy.custom_login_sequence: custom proxy login sequence

SFTP Settings

Private key files:

    engine.sftp.keyfiles

engine.sftp.compression, flags: enables compression

Generic Proxy

    engine.proxy.type

    0 – none
    1 – HTTP 1.1 using CONNECT method
    2 – SOCKS 4
    3 – SOCKS 5

engine.proxy.host: proxy host
engine.proxy.user: proxy user
engine.proxy.password: proxy password


Speed Limit

    engine.speedlimit, flag: enables speed limits
    engine.speedlimit.inbound: download limit (in KiB/s)
    engine.speedlimit.outbound: upload limit (in KiB/s)
    engine.speedlimit.burst_tolerance: burst burst_tolerance

      0 – normal
      1 – high
      2 – very high

Preallocate space

    engine.preallocate_space, flag: preallocate space before downloading

Server

    engine.view_hidden_files, flag: force show hidden files

MIME Types

    engine.mimetype_mapping

    A key/value pair list of MIME type to file type mapping. The pairs are
    separated by a semi-colon.

Filesize Formats

    engine.size_format

      0 – Display size in bytes
      1 – IEC binary prefixes (e.g. 1 KiB = 1024 bytes)
      2 – Binary prefixes using SI symbols (eg 1 KB = 1024 bytes)
      3 – Decimal prefixes using SI symbols (eg 1 KB = 1000 bytes)

    engine.size_use_thousand_separator, flag: enables the use of thousands separator.
    engine.size_decimal_places: number of decimal places if you choose to have
    file size displayed in anything other than bytes.

Logging

    engine.log.debug_level

      0 – none
      1 – warning
      2 – info
      3 – verbose
      4 – debug

    engine.log.raw_listing, flag: enables log raw directory Listing.
    engine.log.file: log file name.
    engine.log.file_sizehint: size limit of the logfile (in MiB).
    engine.log.detailed, flag: enables detailed logs.

FTP File Types

engine.ftp.transfer_type: the file type FileZilla Pro Command Line uses for transferring files:

    0 – auto: automatic detection of the most appropriate transfer type
    1 – ASCII: a conversion between client and server formats may be necessary
    2 – Binary: files are transferred without any conversion

engine.ftp.ascii_files: a list of file types treated as ASCII files separated by bars.

engine.ftp.ascii_no_ext, flag: whether files without extension are treated as ASCII
files.

engine.ftp.ascii_dotfiles, flag: whether files starting with a dot are managed as
ASCII files.

Error Handling

cli.error_handling

    0 – runs the command if the error flag is set.
    1 – skip the command if the error flag is set.
    2 – exit FileZilla Pro Command Line on error.

Prompt Overrides

FileZilla Pro Command Line might stop execution to show a prompt asking for confirmation or information.

Use the following options to override the prompt and provide a default response:

    cli.prompt.file_exists: for File already exists prompt. What to do if a file with
    the same name exists.

    0 – ask: show the prompt and wait for the response
    1 – skip: don’t transfer the file
    2 – overwrite: overwrite destination file

cli.prompt.trust_hostkey:

    0 – ask: show the prompt and wait for the response
    1 – yes
    2 – no
    3 – always

cli.prompt.certificate: whether trust a server certificate or not.

    0 – ask: show the prompt and wait for the response
    1 – yes: trust the certificate and continue with the connection (only this time)
    2 – no: ignore the certificate and cancel the connection
    3 – always: trust the certificate now and in the future connections

cli.prompt.insecure_connection: how to proceed with an insecure connection.

    0 – ask: show the prompt and wait for the response
    1 – yes: continue with the connection (only this time)
    2 – no: cancel the connection
    3 – always: continue with the connection now and in the future connections
    to the server

cli.prompt.mfa_code: provide a multifactor authentication (MFA) code.
empty – ask to enter the code

cli.prompt.tls_resumption: whether proceed with a connection with a server that
does not support TLS resumption.

    0 – ask: show the prompt and wait for the response
    1 – yes: continue with the connection (only this time)
    2 – no: cancel the connection
    3 – always: continue with the connection now and in the future connections
    to the server

The video tutorial below shows how to view and change the settings and how to get help on the commands.

Video tutorial: How to Change the Settings and to get Help on the Commands in FileZilla CLI