Pascal Scripting: DownloadTemporaryFileSize

Prototype:

function DownloadTemporaryFileSize(const Url): Int64;

Description:

Returns the size of the file from the specified URL, without downloading the file. If the server does not provide the size, -1 will be returned.

An exception will be raised if there was an error.

See DownloadTemporaryFile for other considerations.