diff --git a/source/shared_lib/sources/platform/posix/miniftpclient.cpp b/source/shared_lib/sources/platform/posix/miniftpclient.cpp index 19c24057d..04e2e8784 100644 --- a/source/shared_lib/sources/platform/posix/miniftpclient.cpp +++ b/source/shared_lib/sources/platform/posix/miniftpclient.cpp @@ -330,7 +330,10 @@ pair FTPClientThread::getMapFromServer(pair FTPClientThread::getFileFromServer(FTP_Clien curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, &ftpfile); // Max 10 minutes to transfer - curl_easy_setopt(curl, CURLOPT_TIMEOUT, 600); + //curl_easy_setopt(curl, CURLOPT_TIMEOUT, 600); + // Max 60 minutes to transfer + curl_easy_setopt(curl, CURLOPT_TIMEOUT, 3600L); + curl_easy_setopt(curl, CURLOPT_FTP_RESPONSE_TIMEOUT, 120L); // Switch on full protocol/debug output if(SystemFlags::VERBOSE_MODE_ENABLED) curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);