[FTP] --no-check-certificate do nothing

Rclone version: rclone v1.63.0

When trying to connect to an FTP server, I got the following error:

Failed to create file system for "gimi:": NewFs: failed to make FTP connection to "ftp.server.com:21": tls: failed to verify certificate: x509: certificate signed by unknown authority

When I add the --no-check-certificate option, nothing change.

Here the host config:

[gimi]
type = ftp
host = ftp.server.com
user = USER
pass = *** ENCRYPTED ***
tls = false
explicit_tls = true

Is it a bug ? The same as this one Rclone selfupdate --no-check-certificate FLAG not work ?

EDIT:
Find a temporary solution by adding no_check_certificate = true in config file.

When used in your command it has to be --ftp-no-check-certificate true but no_check_certificate in config as per docs:

--ftp-no-check-certificate

Do not verify the TLS certificate of the server.

Properties:

    Config: no_check_certificate
    Env Var: RCLONE_FTP_NO_CHECK_CERTIFICATE
    Type: bool
    Default: false

My bad :sweat_smile:

Thank you for this clarification.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.