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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CURL.GetFileTime

Get the remote time of the retrieved document.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns the requested value or nothing on error.

Description

Get the remote time of the retrieved document.
If you get an empty result, it can be because of many reasons (unknown, the server hides it or the server doesn't support the command that tells document time etc) and the time of the document is unknown. Note that you must tell the server to collect this information before the transfer is made, by using the CURL.SetOptionFileTime or you will unconditionally get an empty result back.

See also

Example Databases

This function checks for a license.

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


CURL.GetFTPEntryPath - CURL.GetFinishedEvaluate

💬 Ask a question or report a problem