Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3   12.4   12.5    Statistic    FMM    Blog  


Sets the timeout for FTP responses.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.SetOptionServerResponseTimeout"; curl; Value )   More

(old name: CURL.SetOptionFTPResponseTimeout)


Parameter Description Example
curl The CURL session handle. $curl
Value The timeout value in seconds. 60


Returns "OK" on success.


Sets the timeout for FTP responses.
Sets timeout period (in seconds) on the amount of time that the server is allowed to take in order to generate a response message for a command before the session is considered hung.
While curl is waiting for a response, this value overrides CURL.SetOptionTimeOut. It is recommended that if used in conjunction with CURL.SetOptionTimeOut, you set CURL.SetOptionFTPResponseTimeout to a value smaller than CURL.SetOptionTimeOut.

See also SERVER_RESPONSE_TIMEOUT option in CURL manual.

See also

Release notes

Blog Entries

Created 18th August 2014, last changed 1st September 2022

CURL.SetOptionSSLVersion - CURL.SetOptionServiceName

Feedback: Report problem or ask question.

Start Chat