Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CURL.SetOptionServerResponseTimeout
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)
Parameters
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | The timeout value in seconds. | 60 |
Result
Returns "OK" on success.
Description
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
- Version 12.4
- Renamed CURL.SetOptionFTPResponseTimeout function to CURL.SetOptionServerResponseTimeout. (old name stays valid, too)
Blog Entries
Created 18th August 2014, last changed 1st September 2022