How to Override the Prompt with FileZilla CLI

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.

Tags: , ,