Is Encryption FTP explicit over TLS supported?

What is the problem you are having with rclone?

I cannot connect to remote host (ftp explicit tls)

Run the command 'rclone version' and share the full output of the command.

rclone version
rclone v1.58.0

  • os/version: redhat 7.9 (64 bit)
  • os/kernel: 3.10.0-1160.36.2.el7.x86_64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.17.8
  • go/linking: static
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsd remoteserver:

The rclone config contents with secrets removed.

type = ftp
host = <omitted>
user = <omitted>
pass = <omitted
explicit_tls = true
no_check_certificate = true

A log from the command with the -vv flag

rclone -vv lsd remoteserver:
2022/05/13 16:53:25 DEBUG : rclone: Version "v1.58.0" starting with parameters ["rclone" "-vv" "lsd" "remoteserver:"]
2022/05/13 16:53:25 DEBUG : Creating backend with remote "remoteserver:"
2022/05/13 16:53:25 DEBUG : Using config file from "/home/user/.config/rclone/rclone.conf"
2022/05/13 16:53:25 DEBUG : ftp://<omitted>: Connecting to FTP server
2022/05/13 16:53:26 Failed to create file system for "remoteserver:": NewFs: failed to make FTP connection to "<omitted>": tls: received a session ticket with invalid lifetime

That is the problem... Quite what it means, I don't know, but it looks like rclone's TLS/SSL is incompatible with the servers some how.

Looks like the master of all things FTP @ivandeex has thought of this already, try

  --ftp-disable-tls13        Disable TLS 1.3 (workaround for FTP servers with buggy TLS)
1 Like

thank you it worked!

just one note: i had to add another parameter:

writing_mdtm = true

to avoid another warning

thanks a lot!!

1 Like

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