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

CURL.SetOptionFileTime

Whether to query file time.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl
Value Whether to query file time. 1

Result

Returns "OK" on success.

Description

Whether to query file time.
Pass a number. If it is 1, libcurl will attempt to get the modification date of the remote document in this operation. This requires that the remote server sends the time or replies to a time querying command. The CURL.GetFileTime function can be used after a transfer to extract the received time (if any).

See also FILETIME option in CURL manual.

See also

Example Databases

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionFileOnlyMode - CURL.SetOptionFollowLocation