# $dcc.localFileSize

Returns the local file size associated with the specified DCC

Usage

    $dcc.localFileSize(<dcc_id>)

Description

Returns the local file size associated with the specified DCC.
If <dcc_id> does not identify a file transfer DCC then this function returns '0'
If <dcc_id> is not a valid Direct Client Connection identifier then this function prints a warning and returns '0'
In upload transfers the local file size represents the total size of the file to be transferred. In download transfers the local file size is non zero only if the transfer has to resume a file already existing on the local disk and it represents the size of that file (and thus the offset that the transfer started on).

Syntax Specification

    <integer> $dcc.localFileSize(<dcc_id:uint>)

Index, Functions

KVIrc 4.2.0.6190 Documentation
Generated by portbuild at Mon Aug 12 12:09:14 2013