How to Override the Prompt with FileZilla Pro CLI

FileZilla Pro CLI 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 or ask: show the prompt and wait for the response
    1 or skip: skip: do not transfer the file
    2 or overwrite: overwrite destination file
    3 or resume: resume transfer
    4 or newer: transfer if source is newer than destination
    5 or size: transfer if source and destination file sizes are different
    6 or size_newer: transfer if source is newer or sizes are different

cli.prompt.trust_hostkey:

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

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

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

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

    0 or ask: show the prompt and wait for the response
    1 or yes: continue with the connection (only this time)
    2 or no: cancel the connection
    3 or 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 or ask: show the prompt and wait for the response
    1 or yes: continue with the connection (only this time)
    2 or no: cancel the connection
    3 or always: continue with the connection now and in the future connections
    to the server

Tags: , ,