diff -pruN 13.7-1/debian/changelog 13.7-2/debian/changelog
--- 13.7-1/debian/changelog	2024-06-26 18:13:28.000000000 +0000
+++ 13.7-2/debian/changelog	2025-09-09 05:33:37.000000000 +0000
@@ -1,3 +1,9 @@
+freefilesync (13.7-2) unstable; urgency=medium
+
+  * add patch to support curl 8.16. Closes: #1114108
+
+ -- Fab Stz <fabstz-it@yahoo.fr>  Tue, 09 Sep 2025 07:33:37 +0200
+
 freefilesync (13.7-1) unstable; urgency=medium
 
   [ Fab Stz ]
diff -pruN 13.7-1/debian/patches/libcurl-8.16-ftpmethod-type.patch 13.7-2/debian/patches/libcurl-8.16-ftpmethod-type.patch
--- 13.7-1/debian/patches/libcurl-8.16-ftpmethod-type.patch	1970-01-01 00:00:00.000000000 +0000
+++ 13.7-2/debian/patches/libcurl-8.16-ftpmethod-type.patch	2025-09-08 19:05:11.000000000 +0000
@@ -0,0 +1,42 @@
+From: Fab Stz <fabstz-it@yahoo.fr>
+Date: Sat, 6 Sep 2025 10:33:06 +0200
+Subject: Support curl's newftp methods type (since 8.16)
+
+Last-Modified: 2025-09-06
+Forwarded: not-needed
+---
+ FreeFileSync/Source/afs/ftp.cpp | 9 +++++++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+--- a/FreeFileSync/Source/afs/ftp.cpp
++++ b/FreeFileSync/Source/afs/ftp.cpp
+@@ -21,6 +21,11 @@
+ using namespace fff;
+ using AFS = AbstractFileSystem;
+ 
++#if LIBCURL_VERSION_NUM >= 0x081000 // 8.16.0
++#define CURL_FTPMETHOD_TYPE long
++#else
++#define CURL_FTPMETHOD_TYPE curl_ftpmethod
++#endif
+ 
+ namespace
+ {
+@@ -316,7 +321,7 @@
+     void setContextTimeout(const std::weak_ptr<int>& timeoutSec) { timeoutSec_ = timeoutSec; }
+ 
+     //returns server response (header data)
+-    std::string perform(const AfsPath& itemPath, bool isDir, curl_ftpmethod pathMethod,
++    std::string perform(const AfsPath& itemPath, bool isDir, CURL_FTPMETHOD_TYPE pathMethod,
+                         const std::vector<CurlOption>& extraOptions, bool requestUtf8) //throw SysError, SysErrorPassword, SysErrorFtpProtocol
+     {
+         if (requestUtf8) //avoid endless recursion
+@@ -1260,7 +1265,7 @@
+                 {CURLOPT_WRITEDATA, &rawListing},
+                 {CURLOPT_WRITEFUNCTION, onBytesReceived},
+             };
+-            curl_ftpmethod pathMethod = CURLFTPMETHOD_SINGLECWD;
++            CURL_FTPMETHOD_TYPE pathMethod = CURLFTPMETHOD_SINGLECWD;
+ 
+             if (session.supportsMlsd()) //throw SysError
+             {
diff -pruN 13.7-1/debian/patches/series 13.7-2/debian/patches/series
--- 13.7-1/debian/patches/series	2024-06-26 18:13:28.000000000 +0000
+++ 13.7-2/debian/patches/series	2025-09-08 19:05:11.000000000 +0000
@@ -17,3 +17,4 @@ Disable_wxWidgets_uncaught_exception_han
 deactivate_google_drive_button.patch
 
 libcurl_improve_supported_error_codes.patch
+libcurl-8.16-ftpmethod-type.patch
