Salesforce

ClientFileSize (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

ClientFileSize (Magic xpa 4.x)

This function is deprecated; but will continue to run if used in a program. Instead of this function, you should use the ClientFileInfo function, such as ClientFileInfo(filename,5).

Returns the size of a file.

Syntax:

ClientFileSize(tablespec)

Parameters:

tablespec: An alpha string that represents the file specification. The string may contain a path. If the path is not indicated, Magic xpa assumes the current directory.

Returns:

A numeric value indicating the byte size of the I/O file.

Example:

ClientFileSize('c:\magic\magic.ini') returns the number of bytes contained in the C:\MAGIC\MAGIC.INI file.

Note:

This is a client-side function that is only available for Rich Client tasks. To use the server-side version of this function in Rich Client tasks, see FileSize.

Exceptions:

This function is not supported in Web Client tasks.

Platform specific:

This function is not supported for mobile devices.

See also:

ClientFileCopy, ClientFileDelete, ClientFileExist

Reference
Attachment 
Attachment