WARNING: The [sjs-3] engine was deprecated, use [sjs-4] instead. See sjs-4: path.

File.prototype.path()

Returns a file’s path.

Syntax

file.path() string

Description

Returns a file’s full path including the domain.

Examples

Basic example.

Subscribe to our newsletter!