Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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