File.Size

Syntax:

Size()

Returned value:

Type: Number.

Description:

Gives the file size (in bytes).

Availability:

Thin client, web-client, server, thick client, external connection, Mobile application (client), Mobile application (server).

Note:

Applies only to files that actually exist.
To use the method on the web-client, you should preliminarily attach the extension for working with files.

See also:

File, method BeginGettingSize

    

1C:Enterprise Developer's Community