CURLE_PARTIAL_FILE: server did not report OK, got 425 425 Unable to build data connection

Get help for specific problems
Posts: 2
Joined: 17 Jun 2021

xyzaz

Hi,
I am getting this error when trying to connect to Xigmanas via FTP with TLS
CURLE_PARTIAL_FILE: server did not report OK, got 425
425 Unable to build data connection: Operation not permitted [curl_easy_perform]
Filezilla works, Cobian Backup works

FreeFileSync works only when TLS is disabled :(
User avatar
Site Admin
Posts: 7506
Joined: 9 Dec 2007

Zenju

Could be "NoSessionReuseRequired": http://www.proftpd.org/docs/contrib/mod_tls.html#TLSOptions
NoSessionReuseRequired

As of ProFTPD 1.3.3rc1, mod_tls only accepts SSL/TLS data connections that reuse the SSL session of the control connection, as a security measure. Unfortunately, there are some clients (e.g. curl) which do not reuse SSL sessions.

To relax the requirement that the SSL session from the control connection be reused for data connections, use the following in the proftpd.conf:
    <IfModule mod_tls.c>
      ...
      TLSOptions NoSessionReuseRequired
      ...
    </IfModule>
FFS implements libcurl, and this seems to be a limitation of this library.
Posts: 2
Joined: 17 Jun 2021

xyzaz

WoW! Thanks! I put this option into my FTP configuration and now it works!
:)