Description

The Caravan File object is a very useful object which can be used to access files. It can access various properties of the existing files.

Syntax

file "name"="path"
Where name is the name of the file object and path is the absolute path of file or variable,say form(file).

File Properties

File

Description

To access the contents of the file.

Syntax

f(file)

Filename

Description

To access the name of the file

Syntax

f(filename)

Date

Description

To access the created date of the file.

Syntax

f(date)

Size

Description

To access the size of the file.

Syntax

f(size)

Urlname

Description

It is a randomly generated name used to access the file as a link.

Syntax

f(urlname)

Back